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

How to explicitly specify the location of markdown.wasm? #23

Closed
logue opened this issue Feb 5, 2022 · 1 comment
Closed

How to explicitly specify the location of markdown.wasm? #23

logue opened this issue Feb 5, 2022 · 1 comment

Comments

@logue
Copy link

logue commented Feb 5, 2022

I'm trying to use it in a Vue component, but when viewed from the browser URL, it tries to read markdown.wasm on the same path, so an error occurs depending on the URL.
I want to fix the location of this markdown.wasm to a location like /asset/markdowwn.wasm. How should I set it?

@logue
Copy link
Author

logue commented Dec 23, 2022

I ended up making my own component.
markdown.wasm is a provisional implementation that reads from a CDN.

https://github.com/logue/vue-markdown-wasm

@logue logue closed this as completed Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant