css javascript ?
Sails grunt . "" , , , .
grunt Gruntfile.js, . , , javascript css.
--linker. sails new projectName --linker. /assets :
--linker
/assets
/images
/linker
/js
/styles
/templates
--linker
/assets
/images
/js
/styles
: "" , --linker, /linker /assets. /js, /styles /templates /linker.
sails lift /sync 'd grunt .tmp:
.tmp
/public
- (, /images, /js, /styles, /templates) , / .tmp/public. , /linker, /linker /js, /styles /templates.
layout.ejs?
/linker, layout.ejs, javascript css. , , /views, javascript css, .
Grunt layout.ejs placehodler . , , /style, layout.ejs :
, /js, :
/templates :
:
/linker
/js → /linker/js/yourFile.js
/styles → /linker/styles/yourCSS.css
/linker
/js → /js/yourFile.js
/styles → /styles/yourCSS.css