-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
System information (version)
- OpenCV.js => 1.2.1
- Operating System / Platform => Arch Linux
Steps to reproduce
Just added one line of code
cv = require('opencv.js')
in script section of my Nuxt.js project and got that error
in new plain simple Vue project I've got
App.vue?234e:10 Uncaught ReferenceError: cv is not defined
at eval (App.vue?234e:10)
at Module../node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/App.vue?vue&type=script&lang=js& (app.js:1336)
at __webpack_require__ (app.js:724)
at fn (app.js:101)
at eval (App.vue?8b47:1)
at Module../src/App.vue?vue&type=script&lang=js& (app.js:3110)
at __webpack_require__ (app.js:724)
at fn (app.js:101)
at eval (App.vue?a938:1)
at Module../src/App.vue (app.js:3098)
Metadata
Metadata
Assignees
Labels
No labels