Skip to content

Vite Build is not working #9088

Answered by sapphi-red
DasLixou asked this question in Q&A
Jul 13, 2022 · 1 comments · 17 replies
Discussion options

You must be logged in to vote

The dist folder seems fine but when i open the html it just says

This is because Chrome blocks requests with file protocol for security reasons.

When i host the html with Live Server it says

This is because your server is not responding with the correct mime type. (CSS files should have text/css.)

Replies: 1 comment 17 replies

Comment options

You must be logged in to vote
17 replies
@dominantranger
Comment options

@sapphi-red
Comment options

@dominantranger
Comment options

@matthewhutchings
Comment options

@cooldev900
Comment options

Answer selected by DasLixou
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
5 participants
Converted from issue

This discussion was converted from issue #9087 on July 13, 2022 17:11.