S
S
SadBarin2020-11-11 00:43:36
webpack
SadBarin, 2020-11-11 00:43:36

Why does a Vue project not work after build?

Good afternoon. After building the project on Vue, I notice that the project itself does not work. Instead of the application I need, a white screen is displayed. I did not change WebPack in any way, the assembly is original (via vue cli). Tried configuring vue.config.js as well - no luck, also white screen.
The main goal was initially to put the project on GitHub (I also see a white screen there).

PS 1: The question was asked incorrectly, because I'm young and stupid
PS 2: The answer turned out to be quite interesting, I should have written publicPath in vue.config.js: ""

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin B., 2020-11-11
@SadBarin

An error in the code. Check out the console!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question