Coder Social home page Coder Social logo

zscqin / blog.admin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from anjoy8/blog.admin

0.0 1.0 0.0 1.9 MB

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

Home Page: http://vueadmin.neters.club/.doc/

License: MIT License

JavaScript 23.62% HTML 0.22% Vue 74.48% CSS 1.68% Batchfile 0.01%

blog.admin's Introduction

一个基于 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

blog.admin's People

Contributors

anjoy8 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.