Customizable mobile components for Vue.js
yarn add ski-ui
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')
locally:
import { button } from 'ski-ui'
globally:
[WIP]
# 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.