Ans-UI
component x base on vue.js
Install
安装node > 8的LTS版本,https://nodejs.org/en/
yarn add @analysys/ans-ui | npm i @analysys/ans-ui
Usage
全部引入
import Vue from 'vue';
import '@analysys/ans-ui/lib/ans-ui.min.css';
import ans from '@analysys/ans-ui/lib/ans-ui.min.js';
Vue.use(ans);
按需引入
import Vue from 'vue';
import '@analysys/ans-ui/lib/ans-ui.min.css';
import { xButton } from '@analysys/ans-ui/lib/ans-ui.min.js';
Vue.use(xButton);
Build
yarn global add parcel-bundler | npm i -g parcel-bundler
yarn dev | npm run dev
yarn build | npm run build
Build Single Component
yarn global add parcel-bundler | npm i -g parcel-bundler
yarn dev:c button | npm run dev:c button
yarn build:c button | npm run build:c button
yarn dev:c | npm run dev:c