With the default version of sails on npm (v.9?) --linker works ok i.e. creates /linker folder. I can copy js, css files to assets/linker/
and they appear in layout.ejs
automatically.
I now have sails v0.10 installed both locally and globally. Using Node V0.10.25.
I created a new sails project using:
sails new project_name --linker
but no /linker folder is created.
I had to create /.tmp
as it did not exist
I had to create /.tmp/public/linker/
to put /js
& /styles
and add them manually into layout.ejs
I renamed Gruntfile.js
and my program still works thus Gruntfile does nothing in the program.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…