I am a TypeScript novice and encountering a problem:
export default function ({ store }) {
const Router = new VueRouter({
scrollBehavior: () => ({ x: 0, y: 0 }),
routes,
// Keep these settings in quasar.conf.js and modify there instead!
mode: process.env.VUE_ROUTER_MODE,
base: process.env.VUE_ROUTER_BASE
})
The underlined mode
error message is displayed
What is the correct solution for resolving this issue? I came across a similar problem, but it may not be directly related.