jscdn.ink/dist/app.js

30 lines
881 B
JavaScript
Raw Normal View History

2023-11-14 18:29:28 +08:00
import { createApp, css, html } from 'wkitd'
import 'es.shim'
// import '//jscdn.ink/@bd/ui/latest/form/input.js'
// import '//jscdn.ink/@bd/ui/latest/form/button.js'
// import '//jscdn.ink/@bd/ui/latest/form/checkbox.js'
// import '//jscdn.ink/@bd/ui/latest/form/switch.js'
// import '//jscdn.ink/@bd/ui/latest/form/link.js'
// import '//jscdn.ink/@bd/ui/latest/layer/index.js'
// // import 'http://127.0.0.1:8090/dist/layer/index.js'
// import '//jscdn.ink/@bd/ui/latest/pager/index.js'
// import '//jscdn.ink/@bytedo/wcui/1.0.12/form/dropdown.js'
// import App from './app.vue'
import router from './router.js'
import store from './store.js'
const app = createApp({
render() {
return html`
<wc-header></wc-header>
<div class="main-body"><router-view></router-view></div>
<wc-footer></wc-footer>
`
}
})
app.use(router).use(store).mount('.app')