This project is a Todo List plugin template based on Next.js and Teable, designed for secondary development and customization of your own Teable plugin.
- 📝 Basic Todo List functionality
- ⚡️ Integrated Teable plugin development environment
- 🌈 Multi-theme support (light/dark)
- 🌍 Internationalization (i18n) support
- 🪄 Easy to extend and customize
- Next.js
- @teable/core
- @teable/sdk
- @teable/openapi
- @teable/ui-lib
- @teable/next-themes
- @tanstack/react-query
npm installnpm run devVisit http://localhost:3000 to view the app.
npm run buildnpm startsrc/app/page.tsx: App entry, integrates i18n, environment, theme, etc.src/app/Main.tsx: Main business entry, integrates Teable SDK, theme, QueryClientsrc/components/TodoListPages.tsx: Main logic for the Todo List pagesrc/components/context/EnvProvider.tsx: Injects environment variablessrc/components/context/I18nProvider.tsx: Internationalization support
The EnvProvider component automatically reads plugin parameters (such as lang, baseId, pluginId, etc.) from the URL, no manual configuration required.