I created a project with Vue CLI 4.1.2, and inside router/index.js
, I found:
const router = new VueRouter({
mode: 'history',
base: process.env.BASE_URL,
routes
})
There is no .env
file in the project root. So what does process.env.BASE_URL
mean? Where is the BASE_URL
value set?