@ussu/comp
**Currently tightly coupled to our stuff. Docs to be added.*
Last updated 4 months ago by brudil .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @ussu/comp 
SYNC missed versions from official npm registry.

comp

*Currently tightly coupled to our stuff. Docs to be added.

comp helps build our site. comp renders react pages using data from our content api as a command line application. comp also exports a express middleware to develop sites locally, allowing production content to be proxied from a remote server.

comp.generator()

Interactively generates pages and templates in setup. Performs a diff from the last generation, and only displays changed pages.

comp.server()

Use as an express middleware.

import { proxy as compProxy } from '@ussu/comp';

server.use(compProxy());

Serves content from the remote, acting like proxy. Base template is rendered locally.

Current Tags

  • 6.0.0                                ...           latest (4 months ago)
  • 2.0.0-alpha.1                                ...           next (a year ago)

20 Versions

  • 6.0.0                                ...           4 months ago
  • 5.1.0                                ...           4 months ago
  • 5.0.0                                ...           4 months ago
  • 4.2.0                                ...           4 months ago
  • 4.1.0                                ...           a year ago
  • 4.0.0                                ...           a year ago
  • 3.0.1                                ...           a year ago
  • 3.0.0                                ...           a year ago
  • 2.1.0                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 2.0.0-alpha.1                                ...           a year ago
  • 2.0.0-alpha                                ...           a year ago
  • 1.5.0                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 20
Dependencies (14)
Dev Dependencies (15)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |