# mapV-editor **Repository Path**: mirrors_huiyan-fe/mapV-editor ## Basic Information - **Project Name**: mapV-editor - **Description**: Awesome editor based on mapV - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-01-26 - **Last Updated**: 2026-03-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # MapV-Editor ## node版本 8.17.0 Please visit [https://mapv.baidu.com/editor/](https://mapv.baidu.com/editor/) to use it. If you have any questions or suggestions, please leave an issue to let us know. ### This is a front-end envrioment for react.js and vue.js #### React.js ##### To start react.js you need config the webpack.config.js module.exports.entry ``` entry: { // 'app/index': './src/app/index.jsx', 'app/index': './src/app/index.vue.js', }, ``` ##### To start vue.js you need change config the wepback.config.js module.exports.entry ``` entry: { // 'app/index': './src/app/index.jsx', 'app/index': './src/app/index.vue.js', }, ``` > this enviroment will load *.jsx as react module, *.vue as vue module automatically --- ### 安装 ``` npm install ``` or ``` yarn ``` ### 快速启动开发模式 ``` npm run dev ``` or ``` yarn dev ``` ### 快速启动产品模式(压缩,production模式打包) ``` npm run build ``` or ``` yarn build ``` ### 独立的任务 #### 1.开启开发模式下的webpack ``` npm run dev:webpack ``` or ``` yarn dev:webpack ``` #### 2.开启开发模式下的自动刷新的Webpack ``` npm run dev:webpackServer ``` or ``` yarn dev:webpackServer ``` #### 3.开启开发模式下的gulp ``` npm run dev:gulp ``` or ``` yarn dev:gulp ```