command to eject webpack config
What problem does this feature solve?
Hi
I use the new 3.0.0-alpha version. But I need to add a new alias to add a vue plugin, vue-konva because when I try to add it, I get the following error.
You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.
found in
---> \<VLayer\>
The solution is here: https://github.com/vuejs-templates/webpack/issues/215#issuecomment-238095102
What does the proposed API look like?
I think that should have a new command like vue eject
There's no eject. You will be able to configure everything, but the documentation is not out yet.
@yyx990803 Do you have an estimation of when this feature and its documentation will be available? So I can decide if I go back to 2.9 or if I should wait :wink:
@yyx990803 Hey, we're using v3 beta1, and stumbled this issue too. How can we edit the webpack config (aside from downgrading to v2.9)?
Hi @kindofone ,
The solution has been discussed here : https://github.com/vuejs/vue-cli/issues/589#issuecomment-361734701
Since the documentation has been created and can be found there : https://github.com/vuejs/vue-cli/blob/dev/docs/webpack.md
Also vuejs specific configuration is documented there : https://github.com/vuejs/vue-cli/blob/dev/docs/config.md
@Ldoppea Awesome, thanks! ✌️
The links no longer work Where can I find this?
https://cli.vuejs.org/guide/webpack.html
I ran into this thread and earlier https://github.com/vuejs-templates/webpack/issues/215 because of vue styled components as they require the local registration of components. So how can I use them?