File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
examples/sites/demos/pc/webdoc Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export default defineConfig({
9292 <script type =" importmap" >
9393 {
9494 " imports" : {
95- " vue" : " https://registry.npmmirror.com/vue/3.5/files/dist/vue.runtime. esm-browser.js" ,
95+ " vue" : " https://registry.npmmirror.com/vue/3.5/files/dist/vue.esm-browser.js" ,
9696 " echarts" : " https://registry.npmmirror.com/echarts/5.4.1/files/dist/echarts.esm.js" ,
9797 // v3.22.0版本新增
9898 " @opentiny/vue-huicharts" : " https://registry.npmmirror.com/@opentiny/vue-runtime/3.22/files/dist3/tiny-vue-huicharts.mjs" ,
@@ -112,18 +112,16 @@ export default defineConfig({
112112
113113``` html
114114<body >
115- <div id =" app" ></div >
115+ <div id =" app" >
116+ <tiny-button >TinyVue</tiny-button >
117+ <tiny-alert description =" TinyVue" ></tiny-alert >
118+ </div >
116119 <script type =" module" >
117120 import { createApp } from ' vue'
118121 // 引入 @opentiny/vue 组件
119122 import TinyVue from ' @opentiny/vue'
120123
121- createApp ({
122- template: `
123- <tiny-button>TinyVue</tiny-button>
124- <tiny-alert description="TinyVue"></tiny-alert>
125- `
126- })
124+ createApp ()
127125 // 注册 @opentiny/vue 组件
128126 .use (TinyVue)
129127 .mount (' #app' )
You can’t perform that action at this time.
0 commit comments