0.1.3 • Published 7 months ago

innovation-ui v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

工业PC ui库

前端通用库,包括组件、hooks、utils等。

运行

  • 开发模式 yarn dev
  • 生产打包 yarn build
  • 生成文档 yarn build:docs
  • 打包图扑工具 yarn buildtp

使用方法

import inl from 'inl-ui';
import 'inl-ui/dist/style.css';

vue.use(inl)

激活主题

vite.config.ts

const additionalData = require("inl-ui/dist/theme").default;

...

css: {
  preprocessorOptions: {
    less: {
      javascriptEnabled: true,
      additionalData,
    },
  },
},

文档链接

组件文档
hooks文档
Utils文档