I installed the following via Bower:
- jQuery 3.1.0
- Vue 1.0.26
- Require.js 2.2.0
But when I load my site, "Vue" is undefined.
I tried var vue = require('Vue') and stuff, but it doesn't seem to work.
Vue says it is a AMD module and so is Require.js... What am I missing?
var vue = require('Vue')is not Require.js syntax - it's CommonJS syntax, as used by nodejs on the server side, or build tools like browserify or webpack on the client side. You should read up on how requirejs and AMD modules actually work and weither it is what you want/need.