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

Fonts aren't included in the generated build files #27

Open
ranile opened this issue Jun 19, 2022 · 2 comments
Open

Fonts aren't included in the generated build files #27

ranile opened this issue Jun 19, 2022 · 2 comments

Comments

@ranile
Copy link
Contributor

ranile commented Jun 19, 2022

Monaco includes fonts with it but those are not included by this crate. This results in the following error when trying to load the editor, as index.html is returned instead of the font:
image

The generated files should also include the ttf font files

@siku2
Copy link
Owner

siku2 commented Jun 20, 2022

Not a huge fan of bundling fonts as code but I can't think of a better way for now. Do you already have a patch lined up?

@ranile
Copy link
Contributor Author

ranile commented Jun 20, 2022

Do you already have a patch lined up?

I don't, mostly because I don't know how to do this. I brought this up because Yew Playground can't load the editor font

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

2 participants