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 3 Support #285

Closed
jannikbuscha opened this issue Oct 22, 2021 · 6 comments
Closed

Vue 3 Support #285

jannikbuscha opened this issue Oct 22, 2021 · 6 comments

Comments

@jannikbuscha
Copy link

Hello, is it possible to use this plugin with Vue 3?

I have tried several things, but always get errors.

e.g. when using this webpack.config.js:

image

or this vue.config.js:

image

@wxsms
Copy link
Owner

wxsms commented Oct 25, 2021

I have not test with vue3 yet, there might be problems. I may try it latter

@jannikbuscha
Copy link
Author

I have not test with vue3 yet, there might be problems. I may try it latter

The error has something todo with this. But I get another error after fixing this issue (Component is missing template or render function)

@wxsms
Copy link
Owner

wxsms commented Oct 26, 2021

I just added a vue3 example here: https://github.com/wxsms/vue-md-loader/tree/master/example-vue3

and it works find. If you still facing any problems, pls provide a minimal reproduction. thanks.

image

@jannikbuscha
Copy link
Author

jannikbuscha commented Oct 26, 2021

I just added a vue3 example here: https://github.com/wxsms/vue-md-loader/tree/master/example-vue3

and it works find. If you still facing any problems, pls provide a minimal reproduction. thanks.

image

Thank you, it works! I had to update to Vue CLI @next with latest eslint.

@jannikbuscha
Copy link
Author

I have one last question. Can I still use markdown-it plugins? because im getting errors:

image

I tried declaring it under configureWebpack and chainWebpack:
image

@wxsms
Copy link
Owner

wxsms commented Oct 27, 2021

see e3f777a

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

No branches or pull requests

2 participants