Installing
Install the command line utility globally via NPM. This makes broccoli-taco new
available everywhere.
npm install -g broccoli-taco
Creating a Site
To create a new site, run the new
command with the folder name as an argument. Then, install dependencies and run the development server. Your new site should now be available at http://localhost:4200/.
broccoli-taco new my-site
cd my-site && npm install
broccoli-taco serve
Now you can start adding pages, assets, and data.
Building a Site
To build your entire site into a folder, you can run the build
command with the destination folder as an argument. To compress assets, set the BROCCOLI_TACO_ENV
variable to production
.
broccoli-taco build dist
BROCCOLI_TACO_ENV=production broccoli-taco build dist
See broccoli-taco.com for full docs.