add chunk names

This commit is contained in:
Philipp Kühn
2020-10-02 10:55:55 +02:00
parent 3ee7e2f312
commit f9bea265bd
2 changed files with 3 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ import Prism from '~/components/Prism'
export default { export default {
components: { components: {
ReactRenderer: () => import('~/components/ReactRenderer'), ReactRenderer: () => import(/* webpackChunkName: "react-renderer" */ '~/components/ReactRenderer'),
Prism, Prism,
}, },

View File

@@ -6,6 +6,6 @@ import App from '~/layouts/App'
export default function (Vue) { export default function (Vue) {
Vue.component('Layout', App) Vue.component('Layout', App)
Vue.component('Demo', () => import('~/components/Demo')) Vue.component('Demo', () => import(/* webpackChunkName: "demo" */ '~/components/Demo'))
Vue.component('LiveDemo', () => import('~/components/LiveDemo')) Vue.component('LiveDemo', () => import(/* webpackChunkName: "live-demo" */ '~/components/LiveDemo'))
} }