@opentinyvue/vue-runtime
@opentinyvue/vue-runtime
为 TinyVue 组件库提供 es 格式的运行时资源地址。
通过 CDN 方式引入 (v3.17.0开始提供使用)
为了应对不同的业务需要,TinyVue 提供多种形态的 runtime:#
| Runtime 名称 | 使用说明 |
|---|---|
| tiny-vue-pc.mjs | 包含所有pc模板的组件集合 |
| tiny-vue-mobile-first.mjs | 包含所有多端模板的组件集合 |
| tiny-vue-simple.mjs | 包含常用组件的集合 |
<head>
<!-- 引入 vue 和 @opentinyvue/vue -->
<script type="importmap">
{
"imports": {
"vue": "https://registry.npmmirror.com/vue/3.4.27/files/dist/vue.runtime.esm-browser.js",
"echarts": "https://registry.npmmirror.com/echarts/5.4.1/files/dist/echarts.esm.js",
"@opentinyvue/vue": "https://registry.npmmirror.com/@opentinyvue/vue-runtime/3.17/files/dist3/tiny-vue-pc.mjs",
"@opentinyvue/vue-icon": "https://registry.npmmirror.com/@opentinyvue/vue-runtime/3.17/files/dist3/tiny-vue-icon.mjs",
"@opentinyvue/vue-locale": "https://registry.npmmirror.com/@opentinyvue/vue-runtime/3.17/files/dist3/tiny-vue-locale.mjs",
"@opentinyvue/vue-common": "https://registry.npmmirror.com/@opentinyvue/vue-runtime/3.17/files/dist3/tiny-vue-common.mjs"
}
}
</script>
<!-- 引入 @opentinyvue/vue 样式 -->
<link rel="stylesheet" href="https://registry.npmmirror.com/@opentinyvue/vue-theme/3.17/files/index.css" />
</head>
Related Packages
@opentiny/vue-renderless
An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as...
376,156
2,267
@opentiny/vue-theme
An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as...
267,078
2,267
@opentiny/vue-common
An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as...
212,493
2,267
@opentiny/vue-icon
An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as...
200,159
2,267
@opentiny/vue
An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as...
80,961
2,267
Version History
| Version | Released | License |
|---|---|---|
| 3.32.0 | MIT | |
| 3.31.0 | MIT | |
| 3.30.0 | MIT | |
| 3.29.1 | MIT | |
| 3.29.0 | MIT | |
| 3.28.0 | MIT | |
| 3.27.0 | MIT | |
| 3.26.0 | MIT | |
| 3.25.0 | MIT | |
| 3.24.0 | MIT | |
| 3.23.1 | MIT | |
| 3.23.0 | MIT | |
| 3.22.2 | MIT | |
| 3.22.1 | MIT | |
| 3.22.0 | MIT |