VR experiment made by @Thomas_Lecoeur, @quentin_neyraud, @remsclippa & @tristanpicut at DΣIS.
npm install
bower install
will be executed automatically after any npm install
call
Configure your project paths with the PATH AND FILES VARIABLES from
gulpfile.js
Using bower, use :
bower install jquery --save
gulp inject
task will be executed automatocally after any bower install
call. This task basically add each dependancy to your FILES.inject
files (cf. Configure your project).
- All CSS classes used in javascript must be prefixed by
js-
to pass through UnCSS Gulp task
Run gulp
This command will be enough to start a server from your src folder. It will watch each scss, js and images files to work like a boss with BrowserSync.
gulp build
This command will build your project in the build folder specified in the config
of gulpfile.js
You can then run gulp serve --env=prod
to run a server from the build
directory in order to see the result of your awesome work.