vue3-admin | 后台管理型项目解决方案,vite创建项目,配合vue3、vuex @ next、vue-router @ | Router library
kandi X-RAY | vue3-admin Summary
kandi X-RAY | vue3-admin Summary
后台管理型项目解决方案,vite创建项目,配合vue3、vuex@next、vue-router@next,使用jsx语法开发,支持多主题在线切换!
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vue3-admin
vue3-admin Key Features
vue3-admin Examples and Code Snippets
Community Discussions
Trending Discussions on vue3-admin
QUESTION
I get this error when trying to load a store module with the vuex-module-decorators into the initialiser:
vuex.esm.js?2f62:261 Uncaught TypeError: Cannot read property 'getters' of undefined at eval (vuex.esm.js?2f62:261) at Array.forEach () at assertRawModule (vuex.esm.js?2f62:260) at ModuleCollection.register (vuex.esm.js?2f62:186) at eval (vuex.esm.js?2f62:200) at eval (vuex.esm.js?2f62:75) at Array.forEach () at forEachValue (vuex.esm.js?2f62:75) at ModuleCollection.register (vuex.esm.js?2f62:199) at new ModuleCollection (vuex.esm.js?2f62:160)
The index.ts file is quite simple and all works until i introduce the modules to the initialiser:
...ANSWER
Answered 2019-Apr-25 at 07:26I found the answer to be the example vue admin app was not structured quite correctly.
Instead to export the class from the module:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vue3-admin
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page