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 1b27231 commit e33bec6Copy full SHA for e33bec6
packages/@vue/cli-ui-addon-webpack/vue.config.js
@@ -1,5 +1,6 @@
1
module.exports = {
2
baseUrl: '/_addon/vue-webpack',
3
+ devBaseUrl: 'http://localhost:8042/',
4
configureWebpack: {
5
output: {
6
// Important
@@ -20,6 +21,7 @@ module.exports = {
20
21
devServer: {
22
headers: {
23
'Access-Control-Allow-Origin': '*'
- }
24
+ },
25
+ port: 8042
26
}
27
packages/@vue/cli-ui/src/components/ClientAddonLoader.vue
@@ -28,7 +28,7 @@ export default {
28
29
methods: {
30
loadAddon (addon) {
31
- console.log(`Loading addon ${addon.id}...`)
+ console.log(`Loading addon ${addon.id} (${addon.url})...`)
32
const script = document.createElement('script')
33
this.$_scripts.set(addon.id, script)
34
script.setAttribute('src', addon.url)
0 commit comments