Open rzb opened 7 years ago
If you want to use vue-google-maps with Vue 2 you should use vue2-google-maps.
@Tinoooo are you referring to this 1 star repo or is there a more popular one elsewhere?
@rzb I'm not quite sure. There are different forks. See https://github.com/GuillaumeLeclerc/vue-google-maps/issues/119
Vue-google-map and Vue2-google-map not working with NUXT "UNMET PEER DEPENDENCY" error got at the time of installation
Nuxt.js Error: ReferenceError: window is not defined at Object. (/vue-google-maps/index.js:1:6551) at e (/vue-google-maps/index.js:1:321) at Object. (/vue-google-maps/index.js:1:689) at e (/vue-google-maps/index.js:1:321) at t.__esModule.default (/vue-google-maps/index.js:1:394) at 6.server-bundle.js:4024:382 at exports.modules.917.r.(anonymous function).exports (/vue-google-maps/index.js:1:15) at Object.917 (~/vue-google-maps/index.js:1:204) at webpack_require (webpack:/webpack/bootstrap 42a7e2d4e5d34af8ad2b:25:0) at Object.349 (6.server-bundle.js:310:74)
https://github.com/xkjyeah/vue-google-maps/blob/vue2/API.md#-getting-started-with-nuxtjs
On Thu, Jun 15, 2017 at 10:23 PM, Praful Javanjal notifications@github.com wrote:
Vue-google-map and Vue2-google-map not working with NUXT
Nuxt.js Error: ReferenceError: window is not defined at Object. (/vue-google-maps/index.js:1:6551) at e (/vue-google-maps/index.js:1:321) at Object. (/vue-google-maps/index.js:1:689) at e (/vue-google-maps/index.js:1:321) at t.__esModule.default (/vue-google-maps/index.js:1:394) at 6.server-bundle.js:4024:382 at exports.modules.917.r.(anonymous function).exports (/vue-google-maps/index.js:1:15) at Object.917 (~/vue-google-maps/index.js:1:204) at webpack_require (webpack:/webpack/bootstrap 42a7e2d4e5d34af8ad2b:25:0) at Object.349 (6.server-bundle.js:310:74)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GuillaumeLeclerc/vue-google-maps/issues/128#issuecomment-308748774, or mute the thread https://github.com/notifications/unsubscribe-auth/ACiTR9OsECl0hp6QlQHacTfxJrHs5w9Fks5sET5HgaJpZM4M4XCd .
I'm on vue 2.2.4. Running
npm install vue-google-maps --save-dev
brings up: