A
A
alekseivanov2018-09-19 17:17:32
webpack
alekseivanov, 2018-09-19 17:17:32

webpack. How to host files on the server?

I'm building a vue.js project with webpack.
After that, I move the contents of the dist folder to the server.
Site works but can't follow CNC links like site.com/hello
When I worked without webpack I used .htaccess file, what should I do for webpack project?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2018-09-19
@Sanasol

what does webpack have to do with it? Where is the webpack and where is the combat server with the assembled scripts...
Do the same as you can, or throw out apache and install nginx with the necessary config.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question