Skip to content

minimalknave127/GS-GULP_TEMPLATE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

--- COMMANDS ---

gulp - compile all files and serve web gulp serve - serve without compiling

Add your files to src folder

Add your images and svg to assets/compress folder

To import files use @@webRoot instead of ./

Example:

-- WRONG --

<script src="/js/main.js"></script>

-- CORRECT --

<script src="@@webRoot/js/main.js"></script>

--_COMPONENTS---

Store components (header, footer, etc..) inside src/components folder

Import of _header.html and _footer.html from src/components folder to index.html:

<script src="@@webRoot/js/main.js"></script> @@include("_header.html"):

@@include("_footer.html"): # GS-GULP_TEMPLATE

About

Template for GulpJS project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published