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

[Bug]: SvelteKit example doesn't build #51

Open
heshdotcc opened this issue Jul 22, 2023 · 3 comments
Open

[Bug]: SvelteKit example doesn't build #51

heshdotcc opened this issue Jul 22, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@heshdotcc
Copy link

heshdotcc commented Jul 22, 2023

How to reproduce

Running pnpm run build complains about Error: Not found: /src/assets/fonts/DancingScript-Bold.ttf

@heshdotcc heshdotcc added the bug Something isn't working label Jul 22, 2023
@cssninjastudio
Copy link

Hello @heshdotcc! Thanks for opening this issue, we will get back to you soon!
Until then, feel free to join us on discord

If you love our work, please consider sponsoring us

@heshdotcc
Copy link
Author

heshdotcc commented Jul 24, 2023

Specifying the source path of custom font as asset/fonts/DancingScript* seems to fix building script,
but ends with a build that doesn't render the font.

@stafyniaksacha
Copy link
Member

Hello @heshdotcc

Did you import the virtual font import ?

import 'unfonts.css'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants