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 are not in `.vuepress/dist`, making them inaccessible in web context #40

Closed
Kocal opened this issue Jan 8, 2020 · 1 comment
Closed

Comments

@Kocal
Copy link
Contributor

@Kocal Kocal commented Jan 8, 2020

  • I confirm that this is an issue rather than a question.

Bug report

Steps to reproduce

  • I prepared a reproduction repo, here is the reproduction repo:

  • This issue doesn't need a reproduction repro, here is the steps to reproduce:

  • open https://example.vuepress-theme-blog.ulivz.com/ or https://ulivz.com/

  • open developer tools

  • see error message Failed to load resource: the server responded with a status of 404 () EJRVQgYoZZY2vCFuvAFWzr-_dSb_.woff2

What is expected?

No errors, the font EJRVQgYoZZY2vCFuvAFWzr-_dSb_.woff2 and its variants should be here.

What is actually happening?

An error happens when trying to load a font.

Capture d’écran de 2020-01-08 20-48-15

Fonts are not shipped in .vuepress/dist folder when running vuepress build, but I don't understand why because paths used in font.styl looks ok, and VP does not output any errors. 😕

Other relevant information

  • npx vuepress info: not relevant here
@Kocal Kocal changed the title Fonts are not imported Fonts are not in `.vuepress/dist`, making them inaccessible in web context Jan 8, 2020
@newsbielt703

This comment has been minimized.

Copy link
Member

@newsbielt703 newsbielt703 commented Jan 12, 2020

I can't reproduce it since I have the font in local, but it definitely can't be access for now.

Thanks for the report.

newsbielt703 added a commit that referenced this issue Jan 13, 2020
This reverts commit 43c9793.
newsbielt703 added a commit that referenced this issue Jan 13, 2020
This reverts commit 43c9793.
newsbielt703 added a commit that referenced this issue Jan 13, 2020
@newsbielt703 newsbielt703 mentioned this issue Jan 13, 2020
1 of 7 tasks complete
newsbielt703 added a commit that referenced this issue Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.