I am using vue cli with webpack-simple. I am getting this error.I have install all dependencies of vue-mc. You can see my devDepencies:
"devDependencies": {
"axios": "^0.17.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-preset-env": "^1.6.0",
"cross-env": "^5.0.5",
"css-loader": "^0.28.7",
"file-loader": "^1.1.4",
"lodash": "^4.17.4",
"moment": "^2.19.1",
"node-sass": "^4.5.3",
"sass-loader": "^6.0.6",
"underscore": "^1.8.3",
"vue-loader": "^13.0.5",
"vue-mc": "^0.1.1",
"vue-template-compiler": "^2.4.4",
"webpack": "^3.6.0",
"webpack-dev-server": "^2.9.1"
}
But I am getting this error.
vue-mc.es.js?c9ea:2456
Uncaught ReferenceError: _ is not defined
at eval (vue-mc.es.js?c9ea:2456)
at Object.<anonymous> (build.js:1010)
at __webpack_require__ (build.js:679)
at fn (build.js:89)
at eval (31:4)
at Object.<anonymous> (build.js:934)
at __webpack_require__ (build.js:679)
at fn (build.js:89)
at Object.<anonymous> (build.js:789)
at __webpack_require__ (build.js:679)