Open Bisstocuz opened 2 months ago
relativeModule means the package root path.Usually contain package.json. AFAIK vue bundle asserts contain dist directory. I might think u can try "./dist/xxx"? Another way to change it you can do your logic in plugin system.
relativeModule means the package root path.Usually contain package.json. AFAIK vue bundle asserts contain dist directory. I might think u can try "./dist/xxx"? Another way to change it you can do your logic in plugin system.
My code was modeled after this docs
The path of assets doesn't always include dist
, for example, check this: https://cdnjs.com/libraries/vue
Could you please provide a simple example about how to change this behavior?
relativeModule is use for code block. Notice you relativeModule
is vue.global.prod.min.js
isn't be pass.
You can get package name in setup. so you just using the follow logic.
if (name === 'vue') {
// do your logic.
return
}
... etc
I've been busy recently. Some of logic and document isn't friendly. I create a new branch to redesign some of logic.
And there is no
vue
in output: