Skip to content

Latest commit

 

History

History
executable file
·
56 lines (48 loc) · 616 Bytes

README.md

File metadata and controls

executable file
·
56 lines (48 loc) · 616 Bytes

博客:

博客

特性

  • vuex
  • router
  • proxy
  • vuex
  • axios
  • ssr
  • stylus
  • bootstarp

demo blog

已经完善的blog

安装

npm i

开发模式

npm run dev

打包项目

npm run build

�打包后运行

npm start

项目部署

npm run pm2

Nginx 反向代理

跨域代理

const proxyTable = {
  '/v1': {
    target: config.baseUrl,
    changeOrigin: true
    // pathRewrite: {
    //   '^/api': '/api'
    // }
  }
}

界面: 2018-12-18-23-16-58