Skip to content

基于vue,vux,运行在微信上,增加了 http拦截器, auth权限 , jwt认证 , storage ,目录结构灵感来源于ngx-admin

Notifications You must be signed in to change notification settings

ezhuo/vux-weixin

Repository files navigation

vux-weixin

如果帮到您,请留下您的star再走,谢谢!

* 该项目基于vux,可用于微信APP的基础版本,欢迎使用!
* last time :2018-10-29

主要功能

* 添加了 HTTP 拦截器
* 添加了 helpers 公共方法
* 添加了 Auth 、用户登录及 jwt 权限认证
* 将一些公共服务抽离成 plugins,包含:auth.service, dialog.service,notice.service,storage.service , token.service , user.service

目录说明

* src\app\@core 路由、状态、公共函数及服务目录
* src\app\layout 公共布局目录
* src\app\layout\passport 权限登录目录
* src\app\pages 业务组件目录
* src\assets 资源目录
* src\styles 样式目录

安装

# install dependencies
npm install --no-optional

# install vux
npm i --save vux vuex vuex-router-sync axios blueimp-md5 jwt-decode
npm i --save-dev less-loader yaml-loader vux-loader eslint-plugin-html
yarn add vux vuex vuex-router-sync axios blueimp-md5 jwt-decode
yarn add --dev less less-loader yaml-loader vux-loader eslint-plugin-html

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

About

基于vue,vux,运行在微信上,增加了 http拦截器, auth权限 , jwt认证 , storage ,目录结构灵感来源于ngx-admin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published