perf: dynamic import markdown file

This commit is contained in:
chenjiahan
2021-09-05 12:39:35 +08:00
parent e307bfc627
commit f144a6e2cd
2 changed files with 7 additions and 13 deletions

View File

@@ -1,12 +1,10 @@
import { createApp } from 'vue';
import { packageEntry } from 'site-desktop-shared';
import App from './App.vue';
import DemoPlayground from './components/DemoPlayground.vue';
import { router } from './router';
window.app = createApp(App)
.use(router)
.use(packageEntry)
.component(DemoPlayground.name, DemoPlayground);
setTimeout(() => {