Just a quick setup of Noty using Browserify + Budo + BrowserifyCSS
- Clone this repo
cd
into the resultant dir- Run
npm install
to get the dependencies - Run
npm start
to launch the project in your default browser running on a local (Node
-based) web server withlivereload
- all setup.
index.js
is your browserify startup file. Thats got the reference to the CSS libs./src
is your source dir. It's got js and style foldermain.js
thats got your Noty stuff in there
This is split into two parts
build.js
: Builds theJS
andCSS
outputshtml-dist.config
: Uses html-dist to inject the CSS into the HTML
Then generate build:
npm run build
If you want to check the build - Just to make sure:
npm run testbuild
This runs budo
on the build