Package Exports
- lity-ui
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (lity-ui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
一只基于Vue3.x的移动端UI。 -LITYUI Touch
参考文档
Docs: https://web-hxx.github.io/lity-ui
NPM 安装
$ npm install lity-ui --save全局引用
一般在入口文件中:main.js 上引入
import { createApp } from 'vue';
import Lity from 'lity-ui';
import 'lity-ui/dist/lity-ui.css';
const app = createApp();
app.use(Lity);按需引用
import { createApp } from 'vue';
import { Style, Button } from 'lity-ui';
const app = createApp();
app.use(Button);注意: 按需引入的话,是不会打包基础样式部分的,所以在使用的时候需要引入 style 模块。