0.3.8 • Published 8 days ago
@nimble-ui/vue v0.3.8
使用 TypeScript
@nimble-ui/vue 全量使用 TypeScript 编写,和你的 TypeScript 项目无缝衔接。
npm
使用 npm 安装。
npm i @nimble-ui/vue --save
yarn i @nimble-ui/vue --save
使用
import YYUi from "@nimble-ui/vue";
import "@nimble-ui/vue/index.css";
createApp(App).use(YYUi, {
isDark: true, // 开启暗黑主题
theme: {
primary: "#1677ff" // 修改主色调
// ...
}
})
其他方式切换主题方式
import { useTheme } from "@nimble-ui/vue"
/**
* 第一个参数改颜色、字体大小等等
* 第二个参数切换主题:dark:暗黑主题 light:正常主题
*/
useTheme({
primary: "#1677ff",
//...
}, 'dark')
0.3.8
8 days ago
0.3.7
8 days ago
0.3.6
2 months ago
0.3.5
2 months ago
0.3.4
2 months ago
0.3.3
3 months ago
0.3.2
5 months ago
0.3.0
5 months ago
0.2.9
5 months ago
0.3.1
5 months ago
0.2.8
5 months ago
0.2.7
5 months ago
0.2.5
5 months ago
0.2.4
6 months ago
0.2.3
6 months ago
0.2.2
6 months ago
0.2.1
6 months ago
0.2.0
6 months ago
0.1.9
6 months ago
0.1.8
7 months ago
0.1.7
7 months ago
0.1.6
7 months ago
0.1.5
7 months ago
0.1.4
7 months ago
0.1.3
7 months ago
0.1.2
8 months ago
0.1.1
8 months ago
0.1.0
8 months ago
0.0.9
9 months ago
0.0.8
9 months ago
0.0.7
10 months ago
0.0.6
10 months ago
0.0.5
10 months ago
0.0.4
10 months ago
0.0.3
10 months ago
0.0.2
10 months ago
0.0.1
10 months ago