Skip to content

基于vue的Admin管理后台,配合Blog.Core与Blog.Vue等多个开源项目使用

License

Notifications You must be signed in to change notification settings

dotnetlove/Blog.Admin

 
 

Repository files navigation

一个基于 Vue.js 的后台管理系统项目,目前是1.0版本,主要是权限管理系统,以后会增加更多功能,持续开发中...。

给个星星! ⭐️

如果你喜欢这个项目或者它帮助你, 请给 Star~(辛苦星咯)

Tips:


1【重要】、下载后,install 安装依赖,然后 npm run serve 运行,
想要成功,记得要启动后端api接口服务,也就是blog.core 项目,我配置的是端口,8081(api后端)、2364(本项目),


devServer: {
    open: true, //配置自动启动浏览器
    host: "127.0.0.1",
    port: 2364, // 当前vue项目 端口号
    https: false,
    hotOnly: false, // https:{type:Boolean}
    // proxy: null, // 设置代理
    // proxy: 'http://123.206.33.109:8081',          // 配置跨域处理,只有一个代理
    proxy: {
      // 配置多个代理
      "/api": {
        target: "http://localhost:8081",//这里改成你自己的后端api端口地址,记得每次修改,都需要重新build
        //target: "http://localhost:58427",
        //target: "http://api.douban.com",
        ws: true,
        changeOrigin: true,
        pathRewrite: {
          // 路径重写,
          "^/apb": "" // 替换target中的请求地址
        }
      }
    },
    before: app => {}
  },




三大平台同步直播

博客园:https://www.cnblogs.com/laozhang-is-phi/p/10236645.html

简 书:https://www.jianshu.com/notebooks/28621653

CSDN:https://blog.csdn.net/baidu_35726140

******************************

安装

 git clone https://github.com/anjoy8/Blog.Admin.git

安装包依赖

npm install

运行

运行开发环境

npm run serve

本地访问http://localhost:2364

可以在根目录的 vue.config.js 中修改端口:

  "devServer": {
     "host": "127.0.0.1",
     "port": "2364"//端口号
  },
  
  

编译

build for production and launch server

npm run build

About

基于vue的Admin管理后台,配合Blog.Core与Blog.Vue等多个开源项目使用

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 72.9%
  • JavaScript 25.1%
  • CSS 1.7%
  • HTML 0.3%