To build a new project, simply run
schematics .:ng-tailwindcss <project-name> --debug=false
Use the article below as a refresher
https://medium.com/@tomastrajan/total-guide-to-custom-angular-schematics-5c50cf90cdb4
Run the command below to compile "build" the project
yarn build
In order to do further development, run the command below in order to build and setup a watcher that will recompile the code.
yarn build:watch
To build a new project, simply run the command below:
yarn new <project-name>
To test locally, install @angular-devkit/schematics-cli
globally and use the schematics
command line tool. That tool acts the same as the generate
command of the Angular CLI, but also has a debug mode.
Check the documentation with
schematics --help
npm run test
will run the unit tests, using Jasmine as a runner and test framework.
To publish, simply do:
npm run build
npm publish
That's it!