How to Install - Notus Tailwind JS
Learn how to use Notus included npm scripts to compile source code, run tests, and more for your Tailwind CSS & Javascript project.
Available commands
# | Name | Usage | Description | Read More |
---|---|---|---|---|
1 |
install
|
npm install
|
This command installs a package, and any packages that it depends on. | Read more |
2 |
start
|
npm start
|
Run a Local server (uses your cwd as the web root) and default
the first page as
index.html . (NOTE: this command is for power users)
|
Read more |
3 |
build:fontawesome
|
npm run build:fontawesome
|
This command will copy
node_modules/@fortawesome/fontawesome-free
to
assets/vendor/@fortawesome/fontawesome-free . This for easier updates of the package at hand. (NOTE: this
command is for power users)
|
Read more |
4 |
build:tailwind
|
npm run build:tailwind
|
This will compile and create the Tailwind CSS styles inside
assets/styles/tailwind.css . NOTE, each time you add a new class to your components, you
will have to run this command, so that those new classes would
be compiled by tailwind, and the styles will be applied.
(NOTE: this command is for power users)
|
Read more |
5 |
install:clean
|
npm run install:clean
|
This command will remove the
node_modules
folder and
package_lock.json
file, will install a fresh copy of them and it will start the
development server. (NOTE: this command only works on linux
based terminals) (NOTE: this command is for power users)
|