npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

milk-vue

0.9.3 • Public • Published

logo logo

Docs

中文版

Install

npm i milk-vue

Quickstart

1. Use babel-plugin-import (Recommended)

# Install babel-plugin-import 
npm i babel-plugin-import -D
// set babel config in .babelrc or babel-loader
{
  "plugins": [
    ["import", { "libraryName": "milk-vue", "style": true }]
  ]
}

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

import { Button } from 'milk-vue';

2. Manually import

import { Button } from 'milk-vue/lib/button';

3. Import all components

import Vue from 'vue';
import Milk from 'milk-vue';
import 'milk-vue/lib/milk-css/index.css';
 
Vue.use(Milk);

Contribution

Please make sure to read the Contributing Guide before making a pull request.

Thanks

LICENSE

MIT

Keywords

install

npm i milk-vue

Downloadsweekly downloads

0

version

0.9.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability