-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
25 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1 @@ | ||
--- | ||
layout: home | ||
title: Vue3 BaiduMap GL | ||
|
||
hero: | ||
name: Vue3 BaiduMap GL | ||
text: 易用 & 完整 & 性能不错 | ||
tagline: 基于 Vue3 和 BMapGL 的常用地图组件 📦 + hooks 库 ⚡ | ||
image: | ||
src: /logo.svg | ||
alt: Vue3 BaiduMap GL | ||
actions: | ||
- theme: brand | ||
text: 开始使用 | ||
link: /zh-CN/guide/introduction | ||
- theme: alt | ||
text: View on GitHub | ||
link: https://github.com/yue1123/vue3-baidu-map-gl | ||
|
||
features: | ||
- icon: 🚀 | ||
title: 化繁 => 为简 | ||
details: 将百度地图繁琐的 API 封装进组件,你只需关注组件本身 | ||
|
||
- icon: 📦 | ||
title: 完整 | ||
details: 20+ 高质量的开箱即用 Vue 3 组件以及 5+ hooks 封装 | ||
|
||
- icon: 📐 | ||
title: 易用 | ||
details: 遵循直觉的、简约的 Api 设计 | ||
|
||
- icon: ⚡ | ||
title: 高性能 | ||
details: Composition Api,更好的性能 | ||
|
||
- icon: 🔨 | ||
title: 不是 AnyScript | ||
details: 完整的 TypeScript 支持,更好的体验 | ||
|
||
- icon: 🌏 | ||
title: WebGl | ||
details: 基于百度地图Gl版SDK,WebGL对地图、覆盖物等进行渲染,支持3D视角展示地图 | ||
--- | ||
|
||
<script lang="ts" setup> | ||
import { onMounted } from 'vue' | ||
import VanillaTilt from 'vanilla-tilt'; | ||
|
||
|
||
onMounted(() => { | ||
const element = document.querySelector('.image') | ||
VanillaTilt.init(element, { reverse: true, transition: true }) | ||
}) | ||
</script> | ||
<!--@include: ../index.md--> |