mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 01:15:03 +03:00
Update DEVELOPERS.md
This commit is contained in:
1 parent
d1b55da7d2
commit
85b7c793b4
1 file changed
+9
@@ -195,6 +195,15 @@ The monorepo has a set of shared components under `/packages`:
|
||||
- `/packages/config`: All shared config
|
||||
- `/packages/spec`: Generates documentation using spec files.
|
||||
- `/packages/tsconfig`: Shared Typescript settings
|
||||
- `/packages/ui`: Shared UI components (formerly @supabase/ui)
|
||||
|
||||
To use these 'packages', or any of their components from a Next.JS app, you must use `next-transpile-modules` in the `next.config.js` file. This looks like:
|
||||
|
||||
```tsx
|
||||
// next.config.js
|
||||
const withTM = require('next-transpile-modules')(['ui', 'common'])
|
||||
module.exports = withTM({})
|
||||
```
|
||||
|
||||
### Installing packages
|
||||
|
||||
|
||||
Reference in new issue
Block a user