Main.js configuration error in vux framework

getting started with vux, encountered a problem here in router. Figure above:

clipboard.png

router/index.js

clipboard.png

main.js:
clipboard.png

:main.jsrouter/index.js

:router/index.jspathindex.vue
:main.jsrouter/index.jsmain.jsindex.jspathmain.jsrouter/index.js

::routes...

clipboard.png

clipboard.png

Apr.08,2022

main.js is the portal file and router/index.js is the routing configuration file, but why configure routing again in main.js? Just import the routing configuration into main.js.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bede6f-31407.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bede6f-31407.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?