1.1.2 • Published 5 years ago

mf-components-business v1.1.2

Weekly downloads
10
License
ISC
Repository
-
Last release
5 years ago

简体中文

Install

npm i mf-components-business

Usage

Full loading

  
// Import the package
import mfBusiness from 'mf-components-business'

// Import the stylesheet 
import '../node_modules/mf-components-business/lib/style/root.css'

// Use components as plug-ins ( Options will be available shortly )
Vue.use(mfBusiness [, options ])

Demand loading

First, install the babel plugin

  npm install babel-plugin-component -D

Then,edit .babelrc file

{
  "presets": [
    ["es2015", { "modules": false }]
  ],
  "plugins": [["component", [
    {
      "libraryName": "element-ui",
      "styleLibraryName": "theme-chalk"
    }
  ]]]
}

Last

// export {
//   mGantt,
//   mKanban,
//   mFullCalendar,
//   mProductPlan
// }

import Vue from 'vue'
import { mFullCalendar } from 'mf-component-busines'
Vue.use(mFullCalendar [, options ])
1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago