@smart-portal/bundler
bundler components support for vue2 vue2.7 vue3
2,203
| Install | |
|---|---|
npm install @smart-portal/bundler |
|
| Latest Version: | 1.2.1 |
| License: | MIT |
| Last Updated: | Sep 29, 2025 |
| Links: | npm |
Maintainer: asp_panjinjun
SmartPortal bundler
门户通用组件
使用说明
依赖安装
组件包依赖
npm install @smart-portal/bundler
入口主文件引入依赖
共有三种类型组件:
1. General通用组件 -- 可用于vue2,vue2.7,vue3项目
2. Options API组件 -- 可用于vue2,vue2.7,vue3项目
3. Composition API组件 -- 可用于vue2.7,vue3项目
vue2项目可注册使用通用General组件和Options组件
import {
GeneralComponentsInstall,
OptionsComponentsInstall
} from '@smart-portal/bundler'
Vue.use(GeneralComponentsInstall)
Vue.use(OptionsComponentsInstall)
vue2.7和vue3项目可全量注册组件
import {
GeneralComponentsInstall,
CompositionComponentsInstall,
OptionsComponentsInstall
} from '@smart-portal/bundler'
app.use(GeneralComponentsInstall)
app.use(CompositionComponentsInstall)
app.use(OptionsComponentsInstall)
可按需单独使用相关组件
import {
GeneralComponents,
CompositionComponents,
OptionsComponents
} from '@smart-portal/bundler'
全量获取组件
import SmartPortalComponents from '@smart-portal/bundler'
Version History
| Version | Released | License |
|---|---|---|
| 1.2.1 | MIT | |
| 1.2.0 | MIT | |
| 1.1.40 | MIT | |
| 1.1.39 | MIT | |
| 1.1.38 | MIT | |
| 1.1.37 | MIT | |
| 1.1.36 | MIT | |
| 1.1.35 | MIT | |
| 1.1.34 | MIT | |
| 1.1.33 | MIT | |
| 1.1.32 | MIT | |
| 1.1.31 | MIT | |
| 1.1.30 | MIT | |
| 1.1.29 | MIT | |
| 1.1.28 | MIT | |
| 1.1.27 | MIT | |
| 1.1.26 | MIT | |
| 1.1.25 | MIT | |
| 1.1.24 | MIT | |
| 1.1.23 | MIT | |
| 1.1.22 | MIT | |
| 1.1.21 | MIT | |
| 1.1.20 | MIT | |
| 1.1.19 | MIT | |
| 1.1.18 | MIT | |
| 1.1.17 | MIT | |
| 1.1.16 | MIT | |
| 1.1.15 | MIT | |
| 1.1.14 | MIT | |
| 1.1.13 | MIT |
Showing the latest 30 of 83. See every release on npm