error:
Failed to load resource: net::ERR_FILE_NOT_FOUND
searched
on the Internet and said baseUrl:"/ "changed to". /", but no error was reported. The static file still has no data and
how to configure it? Solve
error:
Failed to load resource: net::ERR_FILE_NOT_FOUND
searched
on the Internet and said baseUrl:"/ "changed to". /", but no error was reported. The static file still has no data and
how to configure it? Solve
do you right-click index.html
> to open it in chrome
?
needs to be opened in the server.
set this in vue.config.js
. If not, you can create a new one in the root directory of the project.
// vue.config.js
module.exports = {
baseUrl: './',
}
did you forget to run
under the server?...
problem description I created the project using vue-cli 3.0. after build, I uploaded the folder to the server. When I reported an error in css file 404, I saw that Daniel said to create a vue.config.js, in the root directory. Which parameter can solve...
in which folder should I put the json file to get it? Put it under assets. I tried the browser and didn t seem to get it . ...
has already install and import in main. But it doesn t seem to work. It needs to be configured in vue.config.js. Excuse me, how should it be configured? ...
problem description use vue-cli3 to create a component that wants to be encapsulated as a third-party library and uploaded to npm for use by other projects, but vue-cli-service build-- target lib-- name lib1. src lib1.vue the packaged library cann...
problem description use vue-cli3 to create a component that wants to be encapsulated as a third-party library and uploaded to npm for use by other projects, but vue-cli-service build-- target lib-- name lib1. src lib1.vue the packaged library cann...
problem description use vue-cli3 to create a component that wants to be encapsulated as a third-party library and uploaded to npm for use by other projects, but vue-cli-service build-- target lib-- name lib1. src lib1.vue the packaged library cann...
1: add prod mode to package.json and package it as a production environment, as follows "scripts": { "dev": "vue-cli-service serve", "build": "vue-cli-service build", "prod": &qu...