Skip to content

Commit ef2f84c

Browse files
committed
fix(docs): add .default to commonjs import
1 parent 8b9cba4 commit ef2f84c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Vue.use(VueMomentLib);
4242
// Register the whole module with vue
4343
//
4444
var Vue = require("vue");
45-
var VueMomentLib = require("vue-moment-lib");
45+
var VueMomentLib = require("vue-moment-lib").default;
4646

4747
// Install this library
4848
Vue.use(VueMomentLib);

0 commit comments

Comments
 (0)