hw-cus-ui 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.ts +1 -1
  2. package/package.json +2 -2
package/index.ts CHANGED
@@ -13,4 +13,4 @@ import HwBtn from "./HwBtn/HwBtn.vue"; // 引入封装好的组件
13
13
  // });
14
14
  // };
15
15
 
16
- export default {HwBtn}; // 这个方法以后再使用的时候可以被use调用
16
+ export {HwBtn}; // 这个方法以后再使用的时候可以被use调用
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "hw-cus-ui",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "",
5
- "main": "index.ts",
5
+ "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },