ski-ui
v0.0.4
Published
Customizable mobile components for Vue.js
Downloads
4
Readme
Ski
Customizable mobile components for Vue.js
Installation
yarn add ski-ui
Import global styles
If you have main.css and required main.css in main.js:
// main.js
require('./main.css')
You can:
/* main.css */
@import '~ski-ui/dist/default.css';
If not, you can require it directly:
// main.js
require('ski-ui/dist/default.css')
Usage
locally:
import { button } from 'ski-ui'
globally:
[WIP]
Development (contributors only)
# install dependencies
yarn
# build for production (UMD)
yarn build
# run unit tests
yarn unit
# run all tests
yarn test
After yarn link
, open ski-playground && yarn link ski-ui
&& start coding.
Attention: It will imported source code, so ski-playground do not need import global style, but less-loader, html-loader, vue class component, babel & plugins, etc are required.