master
yutent 2023-03-03 11:09:56 +08:00
parent b0972667c4
commit f39d8ef9f3
4 changed files with 14 additions and 12 deletions

View File

@ -7,8 +7,8 @@
<title>{{title}}</title>
<meta name="keywords" content="{{keywords}}">
<meta name="description" content="{{description}}">
<link rel="stylesheet" href="//jscdn.ink/@bytedo/wcui/dist/css/reset-basic.css">
<script async src="//esm.tool/es-module-shims.wasm.js"></script>
<link rel="stylesheet" href="//jscdn.ink/@bytedo/wcui/1.0.12/css/reset-basic.css">
<script async src="//jscdn.ink/es-module-shims/1.6.3/es-module-shims.wasm.js"></script>
<script type="importmap">{{importmap}}</script>
</head>
<body>

View File

@ -5,15 +5,15 @@
"type": "module",
"main": "src/main.js",
"scripts": {
"start": "vue-live dev",
"build": "vue-live build"
"start": "fite dev",
"build": "fite build"
},
"author": {
"name": "yutent",
"email": "yutent.io@gmail.com"
},
"devDependencies": {
"@bytedo/vue-live": "0.0.12"
"fite": "^0.3.3"
},
"dependencies": {}
}

View File

@ -8,10 +8,10 @@ import { createApp } from 'vue'
import '@/assets/app.scss'
import '//jscdn.ink/@bytedo/wcui/dist/layer/index.js'
import '//jscdn.ink/@bytedo/wcui/dist/form/switch.js'
import '//jscdn.ink/@bytedo/wcui/dist/form/radio.js'
import '//jscdn.ink/@bytedo/wcui/dist/form/button.js'
import '//jscdn.ink/@bytedo/wcui/1.0.12/layer/index.js'
import '//jscdn.ink/@bytedo/wcui/1.0.12/form/switch.js'
import '//jscdn.ink/@bytedo/wcui/1.0.12/form/radio.js'
import '//jscdn.ink/@bytedo/wcui/1.0.12/form/button.js'
import App from './app.vue'

View File

@ -13,8 +13,10 @@ export default {
port: 6677
},
imports: {
vue: '//esm.tool/vue.js',
'vue-router': '//esm.tool/vue-router.js',
fetch: '//esm.tool/fetch.js'
'es.shim': '//jscdn.ink/es.shim/2.1.1/index.js',
vue: '//jscdn.ink/vue/3.2.47/vue.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',
crypto: '//jscdn.ink/crypto.web.js/1.0.0/index.js'
}
}