Static GitHub Issues

[1522] Where to write "bootstrap" code without main.js

prev: v-html directive throws error if wrapper is other than `div` or `span`
next: disable vuex strict mode on dev

I'm trying to rewrite an application from pure VueJS to NuxtJS because it seems to avoid a lot of boilerplate code. I have some code running in the VueJS created hook.

new Vue({
  el: '#app',
  ...,
  created () {
     // some code here
  }
})

Where is the best place to write this code? There is no entry point with NuxtJS I'm a bit lost...

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1356">#c1356</a>)</em></sub></div>