html-loader и сконфигурировать Webpack:yarn add html-loader | npm install html-loader{
test: /\.(html)$/,
exclude: /(node_modules)/,
use: {
loader: "html-loader"
}
}.html файл в роутер.import Destination from '/path/to/destination.html'.html файл в качестве шаблона.{
path: '/destination',
mode: history,
name: 'destination',
component: { template: Destination }
}