A
A
Alexey Tipa2018-05-19 15:24:10
webpack
Alexey Tipa, 2018-05-19 15:24:10

Why don't files from dist (production) run NOT from the site root?

I made a test project on vue using webpack.
I launched the build, got something in the dist package that can be uploaded to the site.
But for everything to work correctly, you need to upload it to the root of the site (the static folder and the index.html file)
And I need it to work from a folder on the site, for example site.com/vue/ Tell me
what to do with the paths or something more?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Proskurin, 2018-05-19
@KayzerSoze

You can specify in the head of the document or see the real-static-assets config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question