更新依赖
parent
589bb7fd45
commit
43ab9fd321
|
@ -1,6 +1,7 @@
|
|||
|
||||
dist
|
||||
node_modules
|
||||
.httpserver
|
||||
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
|
|
|
@ -16,6 +16,14 @@ export default {
|
|||
entry: resolve('./src/pages/index/main.js'),
|
||||
title: 'home page'
|
||||
},
|
||||
'@wcui/index': {
|
||||
entry: resolve('./src/pages/@wcui/index/main.js'),
|
||||
title: 'home page'
|
||||
},
|
||||
'@wcui/docs': {
|
||||
entry: resolve('./src/pages/@wcui/docs/main.js'),
|
||||
title: 'home page'
|
||||
},
|
||||
playground: {
|
||||
entry: resolve('./src/pages/playground/main.js'),
|
||||
title: '@bd/ui Playground'
|
||||
|
@ -26,6 +34,8 @@ export default {
|
|||
vue: '//jscdn.ink/vue/3.2.47/vue.runtime.esm-browser.prod.js',
|
||||
'vue-router': '//jscdn.ink/@bytedo/vue-router/4.1.6/vue-router.js',
|
||||
fetch: '//jscdn.ink/@bytedo/fetch/2.1.5/next.js',
|
||||
'@bytedo/editor': '//jscdn.ink/@bytedo/editor/1.0.0/index.js'
|
||||
'@bytedo/editor': '//jscdn.ink/@bytedo/editor/1.0.0/index.js',
|
||||
'@bytedo/gzip': '//jscdn.ink/@bytedo/gzip/1.0.0/index.js',
|
||||
'@bd/core': '//jscdn.ink/@bd/core/1.9.0/index.js'
|
||||
}
|
||||
}
|
|
@ -6,6 +6,6 @@
|
|||
"build": "fite build"
|
||||
},
|
||||
"devDependencies": {
|
||||
"fite": "^0.5.0"
|
||||
"fite": "^0.6.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
<template>
|
||||
<h1>it works! docs page</h1>
|
||||
<div>
|
||||
<wc-link to="/playground.html">plyaground</wc-link>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
components: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss"></style>
|
|
@ -0,0 +1,8 @@
|
|||
import { createApp } from 'vue'
|
||||
import App from './app.vue'
|
||||
|
||||
import '//jscdn.ink/@bd/ui/0.1.3/form/index.js'
|
||||
|
||||
const app = createApp(App)
|
||||
|
||||
app.mount('.app')
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import Home from './views/home.vue'
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
name: 'home',
|
||||
component: Home
|
||||
},
|
||||
{
|
||||
path: '/about',
|
||||
name: 'about',
|
||||
component: () => import('./views/about.vue')
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
export default router
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
<template>
|
||||
<h1>it works! index page</h1>
|
||||
<div>
|
||||
<wc-link to="/playground.html">plyaground</wc-link>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
components: {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss"></style>
|
|
@ -0,0 +1,8 @@
|
|||
import { createApp } from 'vue'
|
||||
import App from './app.vue'
|
||||
|
||||
import '//jscdn.ink/@bd/ui/0.1.3/form/index.js'
|
||||
|
||||
const app = createApp(App)
|
||||
|
||||
app.mount('.app')
|
|
@ -0,0 +1,23 @@
|
|||
|
||||
import { createRouter, createWebHistory } from 'vue-router'
|
||||
import Home from './views/home.vue'
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
name: 'home',
|
||||
component: Home
|
||||
},
|
||||
{
|
||||
path: '/about',
|
||||
name: 'about',
|
||||
component: () => import('./views/about.vue')
|
||||
}
|
||||
]
|
||||
})
|
||||
|
||||
export default router
|
||||
|
||||
|
|
@ -1,6 +1,8 @@
|
|||
<template>
|
||||
<h1>it works!</h1>
|
||||
<div><a href="/playground.html">plyaground</a></div>
|
||||
<div>
|
||||
<wc-link to="/playground.html">plyaground</wc-link>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
import { createApp } from 'vue'
|
||||
import App from './app.vue'
|
||||
|
||||
import '//jscdn.ink/@bd/ui/0.1.3/form/index.js'
|
||||
|
||||
const app = createApp(App)
|
||||
|
||||
app.mount('.app')
|
||||
|
|
Loading…
Reference in New Issue