javascript - Assets not found with sails.js -
i started sails project (with sails new project --linker
) , working correctly until today.
now 404 error of javascripts, , noticed each time launch server (sails lift
) .tmp/public
folder deleted. didn't modified gruntfile
or core files , there no errors displayed on console.
the .tmp
folder deleted every time issue sails lift
. sails stores public dir http server.
if remember correctly, v0.10
has linker enabled default.
try running sails new project
without --linker
, see shows in assets/
there should linker folder.
if not, create folder , add appropriate tags ejs file.
you can see docs v0.10 here more information specificy a
Comments
Post a Comment