Skip to content

Commit 5b34271

Browse files
committed
Renamed modules
1 parent 5f1cbeb commit 5b34271

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plugin.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,11 @@ export default async (ctx, inject) => {
131131
for (var key in themeOptions.components) {
132132
components[`vf${key}`] = Vue.component(`vf${key}`, themeOptions.components[key])
133133
}
134-
for (var key in themeOptions.modules) {
135-
components[`vfModule${key}`] = Vue.component(`vfModule${key}`, themeOptions.modules[key])
134+
for (var key in themeOptions.extensions) {
135+
components[`vfE${key}`] = Vue.component(`vfE${key}`, themeOptions.extensions[key])
136136
}
137137
for (var key in themeOptions.loaders) {
138-
components[`vfLoader${key}`] = Vue.component(`vfLoader${key}`, themeOptions.loaders[key])
138+
components[`vfL${key}`] = Vue.component(`vfL${key}`, themeOptions.loaders[key])
139139
}
140140

141141
inject('vuefront', {

0 commit comments

Comments
 (0)