安装:
1 | pnpm dlx jsrepo@latest add https://reactbits.dev/r/GooeyNav-TS-TW |
配置:
- 需要在文件的开头标识”use client”;
为特效配置指定颜色:
1 | <style> |
定义导航数组:
1 | //types/navs.tsx |
使用:
1 | //running/layout.tsx |
1 | pnpm dlx jsrepo@latest add https://reactbits.dev/r/GooeyNav-TS-TW |
1 | <style> |
1 | //types/navs.tsx |
1 | //running/layout.tsx |