Open mapimagdich opened 5 years ago
Hi, I have written a short article about that integration: https://medium.com/@brunobonnin/building-a-simple-app-with-nuxt-and-morris-js-for-displaying-chart-b6b33b14ffff
Maybe it could help you. Let me know.
Hi, I have written a short article about that integration: https://medium.com/@brunobonnin/building-a-simple-app-with-nuxt-and-morris-js-for-displaying-chart-b6b33b14ffff
Maybe it could help you. Let me know.
Thank your for your reply. I followed your tutorial from the beginning (it was the only article about nuxtjs and morrisjs in the internet ;) ) and the error came up.
Hello, finally I got it working with NUXT but theres a problem if I reload the page OR I access the subpage with the chart directly. Then the whole application crashes and I get error 'define is not defined'. I run nuxt in universal mode:
plugins/vue-morris.js
nuxt-config.js
chartSection.vue
I already found these links, but could not get it work https://nuxtjs.org/guide/plugins#only-for-browsers https://nuxtjs.org/faq/window-document-undefined/ https://github.com/nuxt/nuxt.js/issues/30
Thank you for your help!