Laomoney

laocaibao ui toolkit

Version: 1.0.10 Updated: 07/17/2018

By: flower007 License: MIT

Downloads Last 30 Days: 94

Install

npm i laomoney
yarn add laomoney

Repository: https://github.com/flower007/laomoney-ui

CDNs

bundle.run: https://bundle.run/laomoney

jsDelivr: https://cdn.jsdelivr.net/npm/laomoney

unpkg: https://unpkg.com/laomoney

logo

Lightweight Mobile UI Components built on Vue

Build Status downloads Coverage Status npm version license JS Gzip Size CSS Gzip Size

Install

NPM

npm i laomoney -S

YARN

yarn add laomoeny

CDN

<!-- import style -->
<link rel="stylesheet" href="https://unpkg.com/laomoney/dist/styles/laomoney.css" />

<!-- import script -->
<script src="https://unpkg.com/vue/dist/vue.min.js"></script>
<script src="https://unpkg.com/laomoney/dist/laomoney.min.js"></script>

Quickstart

# Install babel-plugin-import
npm i babel-plugin-import -D
// set babel config in .babelrc or babel-loader
// Note: Don't set libraryDirectory if you are using webpack 1.
{
  "plugins": [
    ["import", {
      "libraryName": "laomoney",
      "libraryDirectory": "src/components"
    }]
  ]
}

Then you can import components from laomoney, equivalent to import manually below.

import { Button } from 'laomoney';

Using css via import:

import 'laomoney/dist/styles/laomoney.css';

2. Import all components

import Vue from 'vue';
import laomoney from 'laomoney';
import 'laomoney/dist/styles/laomoney.css';

Vue.use(laomoney);

Browser Support

Modern browsers and Android 4.0+, iOS 6+.

License

MIT

Copyright (c) 2018-present, laomoney

Contributors



flower007
commits

Dependencies


DevDependencies


Categories: Vue js