Skip to content

Commit 3ab7214

Browse files
pngcsgtanjodar
andauthored
Changed plugin export for non-plugin-version (#153)
* Changed plugin export for non-plugin-version * Added export as default Co-authored-by: Nestor Jodar <[email protected]>
1 parent 67ca901 commit 3ab7214

File tree

3 files changed

+56
-95
lines changed

3 files changed

+56
-95
lines changed

package-lock.json

Lines changed: 52 additions & 90 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import Vue from "vue";
2-
import VueEllipseProgress from "@/plugin";
2+
import vueEllipseProgress from "@/plugin";
33
import App from "./App.vue";
44

5-
Vue.use(VueEllipseProgress);
5+
Vue.use(vueEllipseProgress);
66

77
Vue.config.productionTip = false;
88

src/plugin.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ if (globalVue) {
1212
globalVue.use({ install });
1313
}
1414

15-
export default {
16-
install,
17-
};
15+
export { VueEllipseProgress, install };
16+
export default install;

0 commit comments

Comments
 (0)