jzfai / vue3-admin-template Goto Github PK
View Code? Open in Web Editor NEW🎉 A new generation vue3 admin template, It's easy and fast!
Home Page: https://github.com/jzfai/vue3-admin-template.git
License: MIT License
🎉 A new generation vue3 admin template, It's easy and fast!
Home Page: https://github.com/jzfai/vue3-admin-template.git
License: MIT License
当页面高度超出浏览器可视区域后超出部分被遮住,并没有出现滚动条以支持向下滑动
请教大佬,在动态路由页面下刷新或直接输入url时控制台提示这个warning,查询vue-router官方文档后还是无解
[vite] Internal server error: unplugin-vue-define-options TypeError: Cannot read property 'scriptSetupAst' of undefined
目前是2021年12月18日,由于vue-admin-template/admin 项目为vue2.0项目,想转3.0,请问这个项目目前是否可以投入生产环境?还请作者自评一下
我看官網上可以使用vite或webpack,可以請問一下,為何你選擇vite嗎?
//导出service实例给页面调用 , config->页面的配置
export default function axiosReq(config) {
return service({
baseURL: "http://localhost:5000",
timeout: 8000,
...config
})
}
Kindly help, Dashboard not loading
Uncaught (in promise) ReferenceError: useBasicStore is not defined
at setup (index.vue:67:1)
at callWithErrorHandling (runtime-core.esm-bundler.js:158:18)
at setupStatefulComponent (runtime-core.esm-bundler.js:7236:25)
at setupComponent (runtime-core.esm-bundler.js:7197:36)
at mountComponent (runtime-core.esm-bundler.js:5599:7)
at processComponent (runtime-core.esm-bundler.js:5565:9)
at patch (runtime-core.esm-bundler.js:5040:11)
at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5708:11)
at ReactiveEffect.run (reactivity.esm-bundler.js:178:19)
at instance.update (runtime-core.esm-bundler.js:5814:51)
I'm glad to see a great contributions with Vue developers. I'd like to know what is the type of licence of this project? It's a MIT Licence project or We need to pay something or refer to someone else. I appreciate your feedbacks.
node 版本: v16.14.0
pnpm 版本:6.32.3
启动项目后正常运行,游览器报错;
TypeError: track(...) is not a function
at Object.get (runtime-core.esm-bundler.js:2939:35)
at ReactiveEffect.fn (index.ts:18:81)
at ReactiveEffect.run (reactivity.esm-bundler.js:178:19)
at get value [as value] (reactivity.esm-bundler.js:1147:33)
at unref (reactivity.esm-bundler.js:1026:29)
at Proxy. (input.vue:545:2)
at renderComponentRoot (runtime-core.esm-bundler.js:816:16)
at ReactiveEffect.componentUpdateFn [as fn] (runtime-core.esm-bundler.js:5696:46)
at ReactiveEffect.run (reactivity.esm-bundler.js:178:19)
at instance.update (runtime-core.esm-bundler.js:5809:51)
最近在做项目选型。
作者的项目个人觉得真的还是欠缺很多,这绝对不能称得上是vue-admin-template的vue3版本(你在人家issue的打广告这么说的)。
我粗看了一下就发现两个槽点。未支持ts,仍有mixins残留。其他的懒得看了。
请问一下,在beforeEach中addRoute之前,不用把之前添加的动态路由清空吗。
您好,登录后第一次进入dashboard的时候没有加载,强制刷新后才加载,加载后可以看到,怎么在第一次进入的时候就自动加载呢?
报错:Uncaught ReferenceError: Cannot access 'Layout' before initialization
操作:
把dashboard/index.vue里的切换主题等相关代码,搬迁到 app-main/navbar中时(或某子组件中)。会出现如上报错。
然后,尝试将import { useConfigStore } from '@/store/config'等相关js代码注释掉,错误就消失了。
不知报错原因是什么? 目前无法把切换主题等的代码搬到任何一个子组件里。
Hi,
I am on tag version v2.1.0. Can you help to check why install lib failed:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/vite
npm ERR! dev vite@"^4.0.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vite@"^3.0.0" from @vitejs/[email protected]
npm ERR! node_modules/@vitejs/plugin-legacy
npm ERR! dev @vitejs/plugin-legacy@"^2.2.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
我在体验地址上,切换页面,发现keep-alive好像没有生效
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.