yhtml5-cli
v1.1.1
Published
CLI for scaffolding front-end projects based on the create-react-app project.
Downloads
1
Readme
YHTML5-CLI
CLI for scaffolding front-end projects based on the create-react-app project.
Installation
Prerequisites: Node.js (>=4.x, 7.x preferred) and Git.
$ npm install -g yhtml5-cli
Usage
$ yhtml5 init <project-name>
Example:
$ yhtml5 init my-project
The above command pulls the template from YHTML5 template , prompts for some information, and generates the project at ./my-project/
.
Official Templates
The purpose of official project templates are to provide opinionated, battery-included development tooling setups so that users can get started with actual app code as fast as possible. However, these templates are un-opinionated in terms of how you structure your app code and what libraries you use in addition to YHTML5 template.
All official project templates are repos in the YHTML5-Seed.
When a new template is added to the organization, you will be able to run vue init <template-name> <project-name>
to use that template.
You can also run yhtml5 list
to see all available official templates.
Current available templates include:
- react - A full-featured Webpack + React setup with hot reload, code splitting & lazy loading.
question
- npm link fail
File exists: /Users/path
npm ERR! Move it away, and try again.
rm -rf /Users/path
npm link
Thank
The inspiration for this project comes from vue-cli