You seem to be using old vue-cli and scaffolded your project using vue init webpack <project-name> . Since it all evolved into vue cli 3, ... ... <看更多>
What problem does this feature solve? Currently vue.config.js only allowed to export an object containing options. When user want to have ... ... <看更多>
import routes from "./src/router/routes"; ^^^^^^ SyntaxError: Unexpected identifier. also require does not work as routes are dependent on store ... <看更多>