Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue-cli3配置vuxLodader后报错Failed to mount component: template or render function not defined #3759

Closed
gaochenweb opened this issue Mar 17, 2021 · 5 comments

Comments

@gaochenweb
Copy link

vue-cli3配置vuxLodader后报错Failed to mount component: template or render function not defined
configureWebpack: config => {
vuxLoader.merge(config, {
options: {},
plugins: ["vux-ui"]
});
}
请问有人遇到过这个问题麽

@tailer-zhang
Copy link

configureWebpack: config => {
    require('@vux/loader').merge(config, {
        name: name,
        plugins: ['vux-ui', {
            name: 'less-theme',
            path: 'src/assets/css/theme.less'
        }]
    })
},

用这个配置看看

@caozhong1996
Copy link
Collaborator

感觉是你引入文件错误,能提供下最小复现代码吗

@cherryCQ
Copy link

vue-cli3配置vuxLodader后报错Failed to mount component: template or render function not defined
configureWebpack: config => {
vuxLoader.merge(config, {
options: {},
plugins: ["vux-ui"]
});
}
请问有人遇到过这个问题麽

我也遇到了,按照这个配置就会抱这个错,楼主解决了吗?

@caozhong1996
Copy link
Collaborator

vue-cli3配置vuxLodader后报错Failed to mount component: template or render function not defined
configureWebpack: config => {
vuxLoader.merge(config, {
options: {},
plugins: ["vux-ui"]
});
}
请问有人遇到过这个问题麽

我也遇到了,按照这个配置就会抱这个错,楼主解决了吗?

周末发个版,你到时候再看看

@caozhong1996
Copy link
Collaborator

caozhong1996 commented Jun 27, 2021

see #3778

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants