0.8.4 • Published 4 years ago
northstar-global-school v0.8.4
Installation:
Here are some easy installation steps:
- Make sure nodejs installed (for templating, sass and SVG Spritesheet).
- After installing nodejs,
cdto the project folder through Command prompt. npm installnpm install -g gulpgulp(this will watch for changes related to sass, templates, svg spritesheet) (add prefixsudoin mac/linux, if necessary)
That's it!! everything is ready now. Always make sure to run gulp from your project folder through command prompt, before working on the code. The generated / compiled files will be available in dist/ folder.
Note: Work only on
.scssand.pug/.nunjfiles. Don't try to change.cssand.htmlfiles indist/folder. Keep other files like images, fonts and js files directly indist/folder.
Compiling HTML and CSS files
To compile HTML and CSS files from PUG / Nunjucks and SCSS files, respectively, you can run the following command in Command prompt:
gulp run=> To compile the files oncegulp watch=> To compile the files everytime there is a change in PUG / Nunjucks and SCSS files. (Continuous watcher)
0.8.4
4 years ago