# 微擎模块Vue框架 **Repository Path**: ripperTs/micro-engine-vue ## Basic Information - **Project Name**: 微擎模块Vue框架 - **Description**: Vue2.0结合微擎模块tp5.0使用,主要开发h5公众号类型项目,支持多端多平台部署(类Saas系统),内置京东组件库 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 2 - **Created**: 2022-02-14 - **Last Updated**: 2023-05-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: 微擎, 经度组件, 京东组件 ## README ## 前端配置说明 #### 配置请求api 打开vue.config.js 将xxx.xxx.xxx 替换成自己的域名 ```js proxy: { '/api': { target: 'https://xxx.xxxx.xxx/index.php?s=/api/', // target host ws: true, // proxy websockets changeOrigin: true, // needed for virtual hosted sites pathRewrite: { '^/api': '' // rewrite path } }, } ``` #### 配置对应系统唯一标识 打开siteinfo.js 将10001改成新系统版本,如果您不需要多个系统将不必更改此文件 ``` module.exports = { name: "赋能", wxappId: "10001", // 此处为系统ID, 可在超管后台-列表中查看 }; ``` ## 打包项目 #### 前端为Vue编写,旨在前后端分离后,一个后台部署多个前端的实现,因此需要安装nodejs环境和vue-cli脚手架