diff --git a/README.md b/README.md index 46b2a3a..7aeb29e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ npm install ### Compiles and hot-reloads for development ``` -npm run serve +npm run dev ``` ### Compiles and minifies for production diff --git a/packages/index.js b/packages/index.js index 9342a75..9262511 100644 --- a/packages/index.js +++ b/packages/index.js @@ -23,7 +23,7 @@ if (typeof window !== 'undefined' && window.Vue) { export default { // 导出的对象必须具有 install,才能被 Vue.use() 方法安装 install, - // 以下是具体的组件列表 - mButton, - mButton1, } +export { + install,mButton,mButton1 +} \ No newline at end of file