diff --git a/src/components/code-editor.vue b/src/components/code-editor.vue index fb52237..346ae82 100644 --- a/src/components/code-editor.vue +++ b/src/components/code-editor.vue @@ -1,9 +1,16 @@ diff --git a/src/pages/index/main.js b/src/pages/index/main.js index e69de29..ca3de47 100644 --- a/src/pages/index/main.js +++ b/src/pages/index/main.js @@ -0,0 +1,6 @@ +import { createApp } from 'vue' +import App from './app.vue' + +const app = createApp(App) + +app.mount('.app') diff --git a/src/pages/playground/app.vue b/src/pages/playground/app.vue index e2c9953..086bb3e 100644 --- a/src/pages/playground/app.vue +++ b/src/pages/playground/app.vue @@ -1,13 +1,54 @@ - + diff --git a/src/pages/playground/main.js b/src/pages/playground/main.js index 0736249..c5f2f19 100644 --- a/src/pages/playground/main.js +++ b/src/pages/playground/main.js @@ -5,4 +5,4 @@ import store from './store' const app = createApp(App) -app.use(router).use(store).mount('.app') +app.use(store).mount('.app') diff --git a/src/pages/playground/view/about.vue b/src/pages/playground/view/about.vue deleted file mode 100644 index 24aa159..0000000 --- a/src/pages/playground/view/about.vue +++ /dev/null @@ -1,18 +0,0 @@ - - - - - diff --git a/src/pages/playground/view/home.vue b/src/pages/playground/views/preview.vue similarity index 51% rename from src/pages/playground/view/home.vue rename to src/pages/playground/views/preview.vue index 987c694..7458b74 100644 --- a/src/pages/playground/view/home.vue +++ b/src/pages/playground/views/preview.vue @@ -1,7 +1,10 @@ + - - + diff --git a/src/pages/playground/views/topbar.vue b/src/pages/playground/views/topbar.vue new file mode 100644 index 0000000..411edb9 --- /dev/null +++ b/src/pages/playground/views/topbar.vue @@ -0,0 +1,38 @@ + + + + + diff --git a/vue.live.js b/vue.live.js index 27187d7..9c8401e 100644 --- a/vue.live.js +++ b/vue.live.js @@ -12,6 +12,10 @@ export default { } }, pages: { + index: { + entry: resolve('./src/pages/index/main.js'), + title: 'home page' + }, playground: { entry: resolve('./src/pages/playground/main.js'), title: '@bd/ui Playground'