ng-tailwindcss Tailwind Templates

Ng Tailwindcss

Getting Started With Schematics

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

Build

Run the command below to compile "build" the project

yarn build

Development

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

DEFAULT MESSAGE

To build a new project, simply run the command below:

yarn new <project-name>

Testing

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

Unit Testing

npm run test will run the unit tests, using Jasmine as a runner and test framework.

Publishing

To publish, simply do:

npm run build
npm publish

That's it!

Top categories

Loading Svelte Themes