Add webpack config in weweb custom vue component

I’m currently building weweb custom vue component wrapping some web component, apparently vue need some kind of compilerOptions in webpack config like this docs
is there any way I can add those webpack config or is there guide how to properly wrap web component in weweb custom vue component? I can’t find any in wedeveloper web

I think something similar was discussed and said that it’s not possible, due to the fact that it’s a really deep-rooted setting in WeWeb or something similar.

1 Like

used web components in weweb components before. it will work even without the webpack config. vue will try to resolve the web component to a vue component, fail and then it will treat it as a web component. the only difference is the warning in development.

2 Likes

Especially considering we may move to vite/rollup pretty soon :wink:

2 Likes

Vite is love.