customize-map
v1.0.13
Published
diy map
Downloads
19
Readme
CustomizeMap
Customized Map Method (vue.js && javascript)
Build Setup
# install 淘宝镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org
# install dependencies
cnpm i
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# 上传 NPM
1. 修改package.json 中的 version 版本号 加1
2. 打包 npm run build
3. 打开 cmd 或者 webstorem 的 terminal, 确认在 CustomizeMap 目录 下
4. 登录 npm (命令: npm login)
输入 Username 、Password 、Email
显示 Logged in as XXXX on https://registry.npmjs.org/. 就登录成功了
5. 上传命令: npm publish
显示 + [email protected] 就成功后
For a detailed explanation on how things work, check out the guide and docs for vue-loader.