We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8043f6 commit d62ecceCopy full SHA for d62ecce
packages/mars-build/src/compiler/script/config.js
@@ -14,7 +14,8 @@ exports.compile = function compile(source, options) {
14
Object.keys(components).forEach(k => {
15
components[k] = components[k].replace(/\.vue$/, '');
16
});
17
- config.usingComponents = components;
+
18
+ config.usingComponents = Object.assign(components, config.usingComponents || {});
19
return {
20
code: JSON.stringify(config)
21
};
0 commit comments