# functions-geolocation **Repository Path**: Hinak0/functions-geolocation ## Basic Information - **Project Name**: functions-geolocation - **Description**: Geolocation detection using Pages Functions to retrieve visitor location data at the edge. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-09-08 - **Last Updated**: 2026-09-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # EdgeOne Pages 函数:地理位置 这个示例演示了如何使用 EdgeOne Pages 函数获取客户端的地理位置。 ## 部署 [![使用 EdgeOne Pages 部署](https://cdnstatic.tencentcs.com/edgeone/pages/deploy.svg)](https://console.cloud.tencent.com/edgeone/pages/new?from=github&template=functions-geolocation) ## 入门 首先,运行开发服务器: ```bash npm run dev # 或 yarn dev # 或 pnpm dev # 或 bun dev ``` 使用浏览器打开 [http://localhost:3000](http://localhost:3000) 查看结果。 您可以通过修改 `app/page.tsx` 开始编辑页面。文件修改后页面会自动更新。 该项目使用 [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) 自动优化并加载 Inter,这是一种自定义的 Google 字体。 ## 了解更多 要了解更多有关 Next.js 的信息,请查看以下资源: - [Next.js 文档](https://nextjs.org/docs) - 了解 Next.js 的功能和 API。 - [学习 Next.js](https://nextjs.org/learn) - 互动式 Next.js 教程。 您可以查看 [Next.js 的 GitHub 仓库](https://github.com/vercel/next.js/) - 欢迎您的反馈和贡献!