I have load editor component async like bellow:
...
async created () {
const editor = await import('~/components/editor.vue')
Vue.component('editor', editor)
}
...
but when I upgrade the nuxt version to ^1.0.0-rc8
, the editor component can't load, has some where changed?
the source code is here https://github.com/awesomes-cn/new-awesomes/blob/master/components/comment.vue#L184
<!--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/c1442">#c1442</a>)</em></sub></div>