Answer the question
In order to leave comments, you need to log in
How to set up webpack for a regular mvc site so that scripts like vue and styles get static names?
There is a regular site for an online store. It is necessary to implement part of the functionality, like SPA - for example, a basket, a personal account on vue.js.
At the same time, some pages require only postcss and jquery. In a normal build, vue cli writes the paths to the scripts in index.html, each time generating new names for the js and css files.
How do I get webpack to bundle js and css with hard-coded names that can be specified in the js include path?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question