An error is reported when NPM run dev is started:
The file with the problem written on it is in./SRC/router/index. JS; Found yes after searching
import Content from '@page/content'
This code is wrong. You need to add “/” in front of the page. The correct code is
import Content from '@/page/content'
Re execution of code found or error
Similar Posts:
- Vue: How to use Vue-router in Axios
- An association from the table content refers to an
- [Solved] Vue router in the element UI navigation bar repeatedly clicks on the menu above version 3.0 and reports errors
- ERROR Failed to compile with 1 errors
- This content should also be served over HTTPS
- [Solved] SQLSTATE[23000]: Integrity constraint violation: 1048 Column ‘vod_content’.
- An error is reported when traversing the list collection to delete elements
- Mixed Content: The page at was loaded over HTTPS, but requested an insecure image.
- [Solved] VUE Project Error: Avoided redundant navigation to current location: “/XXX“
- PHP use$_ SERVER[‘PHP_ Self ‘] to get the current page address and its security issues