Problem Description
When running the Vue project, I used the route and found that the page had no effect. Press F12 to open the browser inspection mode, and found that the error is as follows:
the cause of the problem
The installed Vue routing plugin version is too high
solution
Reduce the version, use the command to npm install [email protected]
install version 3.2.0 (Work for me)
and then restart the project
Read More:
- [Solved] Vue Error: Uncaught TypeError: Vue.createApp is not a function
- [Solved] Vue uses webpack to package error: Createapp is not a function
- [Solved] webpack Package Error: TypeError: this.getOptions is not a function style-loader
- [Solved] Vue Project Error: Syntax Error: TypeError: this.getOptions is not a function
- [Web Browser] “Uncaught TypeError: object is not a function“
- When starting Vue project: cannot find module ‘webpack cli/bin/config yargs’ error resolution
- [Solved] Vue3 Import element UI error: Uncaught TypeError: Cannot read properties of underfined…
- [Solved] Module build failed TypeError this.getOptions is not a function at Object.loader
- [Solved] Vue Project Error: Error: Cannot find module ‘webpack‘ Require stack以及Error: Rule can only have one resource so
- [Solved] Vue3.2 Error: Object.fromEntries is not a function
- [Solved] Failed to load plugin ‘vue‘ declared in ‘.eslintrc.js‘: createRequire is not a function
- Vue Use scss Error: this.getOptions is not a function [How to Solve]
- Jest Vue $route error [How to Modify]
- [Solved] Vue route jumps to the same page many times error: Navigationduplicated
- Solve the problem of repeatedly clicking the same route console in Vue to report an error
- [Solved] Syntax Error: TypeError: this.getOptions is not a function
- [Solved] Vue2.0 Error: Syntax Error: TypeError: eslint.CLIEngine is not a constructor
- [Solved] Vue3 process Error: Uncaught ReferenceError: process is not defined
- Vue Error: Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location
- Vue init webpack Error: unable to verify the first certificate