wang-qingqing / map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

map

A Vue Project Of Map

Build Setup

# 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 测试文件

知识点总结

  1. 项目内的页面路径跳转,使用vue-router的router-link。

     <router-link to="/map">Index</router-link>
    

TODO LIST

  1. 申请一个高德地图API的key。

  2. 写一个简单的vue的静态页面,并配置对应的路由。

  3. 了解整个文件目录分别有什么作用,将README的文件目录说明补充完整。

  4. 了解下vue-cli,输出blog。

  5. 了解下vue-router,输出blog。

  6. 规划map的功能点。

  7. H5页面。

About


Languages

Language:JavaScript 90.4%Language:Vue 8.7%Language:HTML 0.9%