| aaaa | aaa |
|---|
This repository contains three branches
| branch | description |
|---|---|
| html | Only html template |
Git clone
git clone https://github.com/webzwezda/viewofthepast.git
Use ubuntu 19.04 i had a problem with nodejs, fix it install nodejs v11 and delete .node-gyp
sudo npm i -g npm
But first install
- Nodejs
- NPM
- Gulp
All modules Gulp
- browser-sync
- gulp
- gulp-concat
- gulp-file-include
- gulp-if
- gulp-minify-css
- gulp-sass
- gulp-sourcemaps
- gulp-uglifyjs
Need console spell
sudo npm i -D gulp gulp-if gulp-sass gulp-file-include gulp-sourcemaps gulp-concat browser-sync gulp-uglifyjs
Just run gulp
gulp
Well run gulp default create a file main.css and put in sourceMap
It's command not put sourceMap in main.css
NODE_ENV=prod gulp
Command only generate main.css
NODE_ENV=prod gulp sass