1.0.0 • Published 4 years ago

jbang-sue v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

安装

npm/yarn 安装方式

npm i jbang-uni
or
yarn add jbang-uni

快速上手

引入通用样式

@import 'jbang-uni/theme.scss';

注册组件、样式以及挂载通用方法

//main.js
import jbangUni from 'jbang-uni'
import 'jbang-uni/ui/assets/css/global.scss'
Vue.use(jbangUni)

配置 easycom 规则

// pages.json
{
    "easycom": {
		"^Jb(.*)": "jbang-uni/ui/components/Jb$1/Jb$1.vue"
    },
    "pages": [
        // ......
    ]
}

1.0.0

4 years ago