更新依赖

master
yutent 2023-04-20 19:11:33 +08:00
parent 589bb7fd45
commit 43ab9fd321
11 changed files with 109 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
dist dist
node_modules node_modules
.httpserver
*.sublime-project *.sublime-project
*.sublime-workspace *.sublime-workspace

View File

@ -16,6 +16,14 @@ export default {
entry: resolve('./src/pages/index/main.js'), entry: resolve('./src/pages/index/main.js'),
title: 'home page' 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: { playground: {
entry: resolve('./src/pages/playground/main.js'), entry: resolve('./src/pages/playground/main.js'),
title: '@bd/ui Playground' title: '@bd/ui Playground'
@ -26,6 +34,8 @@ export default {
vue: '//jscdn.ink/vue/3.2.47/vue.runtime.esm-browser.prod.js', 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', 'vue-router': '//jscdn.ink/@bytedo/vue-router/4.1.6/vue-router.js',
fetch: '//jscdn.ink/@bytedo/fetch/2.1.5/next.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'
} }
} }

View File

@ -6,6 +6,6 @@
"build": "fite build" "build": "fite build"
}, },
"devDependencies": { "devDependencies": {
"fite": "^0.5.0" "fite": "^0.6.0"
} }
} }

View File

@ -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>

View File

@ -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')

View File

@ -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

View File

@ -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>

View File

@ -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')

View File

@ -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

View File

@ -1,6 +1,8 @@
<template> <template>
<h1>it works!</h1> <h1>it works!</h1>
<div><a href="/playground.html">plyaground</a></div> <div>
<wc-link to="/playground.html">plyaground</wc-link>
</div>
</template> </template>
<script> <script>

View File

@ -1,6 +1,8 @@
import { createApp } from 'vue' import { createApp } from 'vue'
import App from './app.vue' import App from './app.vue'
import '//jscdn.ink/@bd/ui/0.1.3/form/index.js'
const app = createApp(App) const app = createApp(App)
app.mount('.app') app.mount('.app')