Closed jordanfokoua closed 6 years ago
I had the same issue when using npm install
, this must be due to javascript closures,
To correct this, you can simply change the first line of the vue-firestore.js
file in node_modules/vue-firestore/dist
to this:
(function(define) {define("Vue-firestore", [], function() { return /******/ (function(modules) { // webpackBootstrap
// Do not forget to close the parenthesis
HI, Thanks for opening this issue, do you use CommonJS via Browsify or webpack ?, It's recommended to use webpack with ES6.
I used webpack with electron-vuetify.
A'right, I'm going to change the library target to UMD. Could you please try v0.1.4 now?
@amranidev I am making use of a webpack and electron-vuetify
@blurdylan you got the solution to the problem. The vue-firestore.js file had an issue with the define function. Thanks for your support
I've installed your module and i get the following error "Define is not defined"