-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.html
More file actions
20 lines (19 loc) · 815 Bytes
/
test.html
File metadata and controls
20 lines (19 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html>
<script type="importmap">
{
"imports": {
"vue": "https://unpkg.com/@vue/runtime-dom@latest/dist/runtime-dom.esm-browser.js",
"@vue/shared": "https://unpkg.com/@vue/shared@latest/dist/shared.esm-bundler.js",
"@mapbox-web/draw": "https://fastly.jsdelivr.net/npm/hongtu-draw@latest/dist/hongtu-draw.mjs",
"@mapbox-web/supermap": "http://localhost:9999/index.mjs",
"@mapbox-vue3/core": "https://fastly.jsdelivr.net/npm/@mapbox-vue3/core@latest/mapbox-vue3-core.es.mjs",
"axios": "https://fastly.jsdelivr.net/npm/[email protected]/dist/esm/axios.js"
}
}
</script>
<script type="module">
// import { mapboxgl } from '@mapbox-web/supermap';
import { MbMap } from '@mapbox-vue3/core';
console.log('mapboxgl', MbMap)
</script>
</html>