1 Star 0 Fork 52

648873509 / Blog.Admin

forked from 老张的哲学 / Blog.Admin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

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

这里仅仅是vue项目,api接口工程,请查看 Blog.Core

给个星星! ⭐️

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


项目下载后,首先安装依赖包

npm install

安装成功后,运行即可

npm run serve // 请不要把 再一直用 dev 命令了

然后你就可以直接访问 http://localhost:6688

Tips:

如果你想换一个端口,可以直接修改根目录下的 vue.config.js 文件

  devServer: {
    port: 2364, // 当前 admin 项目的端口号
    https: false,

而且也要代理下后端的接口地址,如果你使用 proxy 来实现跨域的话(如果用 CORS 跨域,这里就不用配置了):

    proxy: {
      // 配置多个代理
      "/api": {
        target: "http://localhost:8081",//这里改成你自己的后端api端口地址,记得每次修改,都需要重新build

如果要部署,先执行bulid

npm run build

三大平台同步直播

博客园: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
MIT License Copyright (c) 2019 ansonzhang Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

基于vue 的管理后台,配合Blog.Core与Blog.Vue等多个项目使用 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/mr520_admin/Blog.Admin.git
git@gitee.com:mr520_admin/Blog.Admin.git
mr520_admin
Blog.Admin
Blog.Admin
master

搜索帮助