sl-vue2-template

支持 ie11 的 ui 组件
881
Install
npm install sl-vue2-template
Latest Version:0.0.0-beta58
Vue:2
License:MIT
Last Updated:May 23, 2023
Links: npm
Maintainer: fred-feng

vite2.8 + vue2.7.14 + ts

支持 ie11 的 ui 组件

引入

npm i sl-vue2-template

::: warning 警告

:zap: 你可能会额外遇到 sass 的错误,所以你需要引入 sass
npm install sass

:::

::: warning 兼容 ie11 须知

需要先引入 babel-polyfill

npm install --save-dev babel-polyfill
import "babel-polyfill";

:::

::: danger vue 文件使用须知

.vue 使用可能会遇到<Button.Primary>不存在的问题,这是因为 vue 文件不能这样使用组件 请按下面注入组件

import { Button } form 'sl-vue2-template'

export default {
  components: {
     ButtonPrimary: Button.Primary
  }
}

:::

Related Packages

vite-plugin-vue2

Vite plugin for Vue2

1,474,659 618
vite-plugin-git-revision

Vite plugin that generates VERSION and COMMITHASH files during build based on a...

21,961 11
@koala/yibin-ui

宜宾大脑主题定制

4,077
vite-plugin-vue2-plus

Vite plugin for Vue2

854 618

Version History

Pre-releases (31)
Version Released Vue License
0.0.0-beta58 ^2.7.14 MIT
0.0.0-beta57 ^2.7.14 MIT
0.0.0-beta56 ^2.7.14 MIT
0.0.0-beta55 ^2.7.14 MIT
0.0.0-beta54 ^2.7.14 MIT