-1
I have a project in Vue.js. I ran the
npm run build
to generate the files that will go up to the production server.
But when I open index.html the browser does not render anything and running the console we have that novegador can not locate the files.
The browser understands that the files are at the root of the directory.
Some configuration is missing in package.json that configure this mapping at build time?
"name": "base",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
}
I’m using Vue-cli’s default settings.