Awesome
<%= projectName %>
You can use choo-cli to generate pieces of your project as you are developing. For example you can generate
Pages
$ choo generate page my-page
Models
$ choo generate model my-model
Elements
$ choo generate element my-element
npm scripts
Choo-cli was made for generating choo projects and code, and leverages npm scripts for certain project task. So in our project a set of npm scripts have already been generated that perform various tasks such as testing/serving/building/etc.
At any time you can review the complete list of npm scripts
available by viewing
package.json or by running the following command:
$ npm run
Here is complete list the the commands and their function
- start - start dev server at localhost:8080
- build - builds your project to deploy to a server
- test - runs unit tests, for now it will just run linting.
- lint - runs eslint against your code
So for example you can run npm start
to start a dev server. You can now see your
app running at localhost:8080