javascript - How do I install and use Vue.js with Sails JS? -
i've built website's backend via sails js , want integrate vue.js in project. i've installed vue , vueresource via npm install --save , i've created app.js file in assets/js folder. however, when require vue , vueresource in app.js file these error messages in chrome: app.js:1 uncaught referenceerror: require not defined localhost/:57 uncaught referenceerror: vue not defined i'm new javascript can figure out javascript isn't being built or similar since require node feature. how can server build app.js file functions on client side? can barely find information on via google explains in way beginner can understand , seem skim on entire installation part. installing , using sails-webpack fixed issue.