A Vue Project Of Map
# install dependencies
npm install
# 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
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
. +-- build 构建脚本目录 +-- config 构建配置目录 +-- node_modules 依赖包 +-- src 源文件 | +-- assets 资源 | +-- components 组件 | +-- router 路由 | +-- App.vue 页面级Vue组件 | +-- main.js 页面入口JS文件 +-- static 静态文件 +-- test 测试文件
-
项目内的页面路径跳转,使用vue-router的router-link。
<router-link to="/map">Index</router-link>
-
申请一个高德地图API的key。
-
写一个简单的vue的静态页面,并配置对应的路由。
-
了解整个文件目录分别有什么作用,将README的文件目录说明补充完整。
-
了解下vue-cli,输出blog。
-
了解下vue-router,输出blog。
-
规划map的功能点。
-
H5页面。