一、vue组件代码
1 | <template> |
二、amap.js封装
const BEIJING = [116.39, 39.9];
1 | import { createScript } from "./tools"; |
三、直接使用
1 | yarn add @halobear/vue-amp |
1 | <template> |
const BEIJING = [116.39, 39.9];
1 | import { createScript } from "./tools"; |
1 | yarn add @halobear/vue-amp |