Skip to content

Commit 540cbc9

Browse files
committed
docs: 修复中文站点根路径404
1 parent a1741aa commit 540cbc9

File tree

1 file changed

+55
-1
lines changed

1 file changed

+55
-1
lines changed

docs/zh-CN/index.md

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,55 @@
1-
<!--@include: ../index.md-->
1+
---
2+
layout: home
3+
title: Vue3 Baidu Map Gl
4+
5+
hero:
6+
name: Vue3 Baidu Map Gl
7+
text: Vue3 & BMapGL 组件库 + hooks 库
8+
tagline: 易用 & 完整 & 性能不错
9+
image:
10+
src: /logo.svg
11+
alt: Vue3 BaiduMap GL
12+
actions:
13+
- theme: brand
14+
text: 开始使用
15+
link: /zh-CN/guide/introduction
16+
- theme: alt
17+
text: View on GitHub
18+
link: https://github.com/yue1123/vue3-baidu-map-gl
19+
20+
features:
21+
- icon: <img src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Travel%20and%20places/Rocket.png" alt="Rocket" width="25" height="25" />
22+
title: 化繁 => 为简
23+
details: 将百度地图繁琐的 API 封装进组件,你只需关注组件本身
24+
25+
- icon: <img src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Objects/Package.png" alt="Package" width="25" height="25" />
26+
title: 完整
27+
details: 20+ 高质量的开箱即用 Vue 3 组件以及 5+ hooks 封装
28+
29+
- icon: <img src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Objects/Triangular%20Ruler.png" alt="Triangular Ruler" width="25" height="25" />
30+
title: 易用
31+
details: 遵循直觉的、简约的 Api 设计
32+
33+
- icon: <img src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Travel%20and%20places/High%20Voltage.png" alt="High Voltage" width="25" height="25" />
34+
title: 高性能
35+
details: Composition Api,更好的性能
36+
37+
- icon: <img src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Objects/Hammer.png" alt="Hammer" width="25" height="25" />
38+
title: 不是 AnyScript
39+
details: 完整的 TypeScript 支持,更好的体验
40+
41+
- icon: <img src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Travel%20and%20places/Globe%20Showing%20Asia-Australia.png" alt="Globe Showing Asia-Australia" width="25" height="25" />
42+
title: WebGL
43+
details: 基于百度地图Gl版SDK,WebGL对地图、覆盖物等进行渲染,支持3D视角展示地图
44+
---
45+
46+
<script lang="ts" setup>
47+
import { onMounted } from 'vue'
48+
import VanillaTilt from 'vanilla-tilt';
49+
50+
51+
onMounted(() => {
52+
const element = document.querySelector('.image')
53+
VanillaTilt.init(element, { reverse: true, transition: true })
54+
})
55+
</script>

0 commit comments

Comments
 (0)