Skip to content

Commit cd3d861

Browse files
committed
fix: load commonjs version of vue-live
1 parent e48eebf commit cd3d861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vueLiveWithLayout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import layout from "./layout.vue";
66
if (typeof window !== "undefined" && window.global === undefined) {
77
window.global = {};
88
}
9-
const { VueLive } = require("vue-live");
9+
const { VueLive } = require("vue-live/dist/vue-live.common");
1010

1111
export default {
1212
functional: true,

0 commit comments

Comments
 (0)