Skip to content

huiyan-fe/mapV-editor

Repository files navigation

MapV-Editor

node版本

8.17.0

Please visit 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

About

Awesome editor based on mapV

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages