herozhou / vue-framework-wz Goto Github PK
View Code? Open in Web Editor NEW👏vue后台管理框架👏
Home Page: http://herozhou.coding.me/vue-framework-wz/#/dashboard
License: MIT License
👏vue后台管理框架👏
Home Page: http://herozhou.coding.me/vue-framework-wz/#/dashboard
License: MIT License
现在前端已经可以独立跑起来了,我看了源码,你对axios进行了一层封装,怎么才能调用到你封装的axios实现请求后台
很不错的项目,本人对vue不了接,请问是否为本人项目,是否可做商用?谢谢
先用非admin登录,退出;然后用admin登录,会发现左侧菜单依然保持之前权限菜单结构,必须刷新页面。BUG在于先前那次登录,由于方法filterAsyncRouter改变了asyncRouterMap数据内容。
npm 提示缺少js-beautify文件
如题,希望增加2套主题 dark和light
[email protected] /Users/jerry/demo/vue-framework-wz
└── UNMET PEER DEPENDENCY [email protected]
npm ERR! peer dep missing: vue@^2.5.2, required by [email protected]
npm ERR! code 1
ps:不知道你这边升级了vuejs的版本后,企业东西会不会有问题,gg!
更新一下 vue-template-compiler 的版本 @2.5.2
你这里webpack打包配置在哪里?
教程只更新到第三章就没了嘛
vue-tinymce is not definded
提示信息
module.js:538
throw err;
^
Error: Cannot find module 'chalk'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object. (D:\vuetest\wzvue\build\check-versions.js:1:75)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: node build/dev-server.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to in
stall?
这个我刚学,所以问的问题很低级,但还是请大神指点一下,谢谢
如题
请问 style.css 有 sass源文件么
这几天连续看了不下5遍您撰写的wz教程第三章登录权限相关,大致流程可以顺下来,但去掉mock以后,登录不进去了。请问需要调整相关的那些文件呢?
module.exports = file => require('@/views/' + file + '.vue')
是不是应该写为module.exports = file => require('@/views/' + file + '.vue').default
除了vuejs之外,说实话,没太看得出来,好像风格跟coreui.io挺像的
Yi+ 边看边买的链接错了
请问如何把自己业务里的权限管理和项目结合在一起呢?
我们现在如果越过项目里的权限管理就不能自由的跳转页面,但是调整这块的配置和相关函数的入口找得我们焦头烂额。
如果有更详细的文档就好了。整理出基本功能的使用。
感谢大神发布Vue后台管理框架!看起来真不错!
我尝试用手机(安卓)来打开登录页,发现有两个问题:
npm link后提示
npm WARN [email protected] requires a peer of vue@^2.5.2 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
wz命令执行不了。
vue的提示一下错误
You may have an infinite update loop in a component render function.
使用网络上的测试版本没有问题,但是 git clone 下来运行就出问题了
一下是我的代码
<Form inline>
<Form-item prop="pay_time1">
<Date-picker type="date" placeholder="支付开始时间" ></Date-picker>
</Form-item>
<Form-item prop="pay_time2">
<Date-picker type="date" placeholder="支付开始时间" ></Date-picker>
</Form-item>
<Form-item prop="pid">
<Input type="text" placeholder="平台id" >
</Input>
</Form-item>
<Form-item prop="bid">
<Input type="text" placeholder="商户id" >
</Input>
</Form-item>
<Form-item >
<Select placeholder="请选择" >
<option value="111">sss</option>
</Select>
</Form-item>
<Form-item>
<Button type="primary" @click="query('formInline')">查询</Button>
</Form-item>
</Form>
hi 你好,
在我这里,Markdown的编辑器把正上方的导航栏覆盖在下面了, 对于侧边的导航按钮的弹出按钮也是, 编辑器也把它们覆盖在下面了, 我觉得应该修改一下编辑器的z-index
如何配置页面权限?为不同权限的人 设置查看页面的权限?文章三 只是简介一下权限控制,希望推出文章四详解讲解一下。 诚谢
请问src/utils/index.js里面的方法哟啊怎么调用,不关怎么调都不能,离谱的是我在main.js里面import进src/utils/index.js,结果总是undifined
如果不用做鉴权的,只需要发送请求后台验证登录的跳转应该怎么写呢,关于您写的有点复杂有点看不懂,不过功能一定可以实现
想要修改一下的形式,例如说模态框的按钮文字,不知道怎么改
我不需要框架中的登录功能,把login.js中的内容注释掉或改掉,页面就挑不出来了,这要怎么改?
。。。
请教下,网页上AppHeader、Sidebar、AppAside、AppFooter和Breadcrumb等的框架布局的CSS文件在哪里? 没有看到相关配置的地方。谢谢了。
老哥,我也是昌航的,逛github逛到校友了,有点小激动,有空多交流一哈呀
你好,我这边功能是想先实现基础功能,还没有涉及权限的部分,如何屏蔽权限校验的部分,账号一登陆就可以直接展示所有东西呢?
这个项目根本跑去不起来啊,git报错
我下载你的源码,项目跑不起来,页面显示Cannot GET /;控制台显示Failed to load resource: the server responded with a status of 404 (Not Found)的错误
开发工具是啥,dalao
root@ubuntu:/opt/vue-framework-wz# npm run dev
[email protected] dev /opt/vue-framework-wz
node build/dev-server.js
(node:23633) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Exited with code 3
ERROR Failed to compile with 2 errors 3:45:04 AM
error in ./src/views/login/index.vue
Module build failed: Error: ENOENT: no such file or directory, scandir '/opt/vue-framework-wz/node_modules/node-sass/vendor'
at Error (native)
at Object.fs.readdirSync (fs.js:953:18)
at Object.getInstalledBinaries (/opt/vue-framework-wz/node_modules/node-sass/lib/extensions.js:124:13)
at foundBinariesList (/opt/vue-framework-wz/node_modules/node-sass/lib/errors.js:20:15)
at foundBinaries (/opt/vue-framework-wz/node_modules/node-sass/lib/errors.js:15:5)
at Object.module.exports.missingBinary (/opt/vue-framework-wz/node_modules/node-sass/lib/errors.js:45:5)
at module.exports (/opt/vue-framework-wz/node_modules/node-sass/lib/binding.js:15:30)
at Object. (/opt/vue-framework-wz/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/opt/vue-framework-wz/node_modules/sass-loader/lib/loader.js:3:14)
@ .//vue-style-loader!.//css-loader?{"minimize":false,"sourceMap":false}!.//vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-0f310798","scoped":false,"hasInlineConfig":false}!.//sass-loader/lib/loader.js?{"sourceMap":false}!./~/vue-loader/lib/selector.js?type=styles&index=1!./src/views/login/index.vue 4:14-406 13:3-17:5 14:22-414
@ ./src/views/login/index.vue
@ ./src/views ^./.*.vue$
@ ./src/router/_import_development.js
@ ./src/router/index.js
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js
error in ./src/components/SidebarItem.vue
Module build failed: Error: ENOENT: no such file or directory, scandir '/opt/vue-framework-wz/node_modules/node-sass/vendor'
at Error (native)
at Object.fs.readdirSync (fs.js:953:18)
at Object.getInstalledBinaries (/opt/vue-framework-wz/node_modules/node-sass/lib/extensions.js:124:13)
at foundBinariesList (/opt/vue-framework-wz/node_modules/node-sass/lib/errors.js:20:15)
at foundBinaries (/opt/vue-framework-wz/node_modules/node-sass/lib/errors.js:15:5)
at Object.module.exports.missingBinary (/opt/vue-framework-wz/node_modules/node-sass/lib/errors.js:45:5)
at module.exports (/opt/vue-framework-wz/node_modules/node-sass/lib/binding.js:15:30)
at Object. (/opt/vue-framework-wz/node_modules/node-sass/lib/index.js:14:35)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/opt/vue-framework-wz/node_modules/sass-loader/lib/loader.js:3:14)
@ .//vue-style-loader!.//css-loader?{"minimize":false,"sourceMap":false}!.//vue-loader/lib/style-compiler?{"vue":true,"id":"data-v-c00c548e","scoped":true,"hasInlineConfig":false}!.//sass-loader/lib/loader.js?{"sourceMap":false}!.//vue-loader/lib/selector.js?type=styles&index=0!./src/components/SidebarItem.vue 4:14-399 13:3-17:5 14:22-407/babel-loader/lib!./
@ ./src/components/SidebarItem.vue
@ .//vue-loader/lib/selector.js?type=script&index=0!./src/components/Sidebar.vue/babel-loader/lib!./~/vue-loader/lib/selector.js?type=script&index=0!./src/containers/Full.vue
@ ./src/components/Sidebar.vue
@ ./
@ ./src/containers/Full.vue
@ ./src/router/index.js
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js
Listening at http://localhost:9001
os@Ubuntu 16.04.3 LTS
arch@x86
[email protected]
[email protected]
在src/utils/fetch.js 中的respone拦截器中有个vue.$Message的iview 的全局提示,但是在使用中发现请求出错错误时,提示组件并没有显示。并且在console 中打印vue.$Message 时为undefined
公司要求需要后端是控制权限验证, 目前的想法是把路由表存在后端然后我去动态addroutes 应该怎么修改逻辑呢。
日期范围组件有没有jquery版本的?
我把login.js 里面的 mock 接口换成了自己的,登录成功 也不会跳转网页,应该是cookies 里面没存进去,这是什么情况。
卸载插件不成功,是按照步骤操作的。Error: ENOENT: no such file or directory, uv_chdir
1.不使用mock后,将登录改为外部API登录跳转到首页路径为'/',请求成功但是没有跳转,
2.图表的数据要如何替换呢?
你好,咨询一下如何才能对wz框架的主题颜色进行整体配置?
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.