add shadcn/ui + docs

This commit is contained in:
Michi 2025-04-13 10:20:40 +02:00
parent c1cbd0b0d7
commit db91ca0269
11 changed files with 452 additions and 23 deletions

View file

@ -61,4 +61,17 @@ When a folder is named with `_` as prefix, it will be ignored by the routing and
Folders in parenthesis (Klammern) while not be show in the route. (https://nextjs.org/docs/app/getting-started/project-structure#organize-routes-without-affecting-the-url-path)
Slugs can be defined by creating a folder in brackets [] like [slug].
Slugs can be defined by creating a folder in brackets [] like [slug].
Basic tutorial: https://www.youtube.com/watch?v=__mSgDEOyv8
By default the code is executed on the server. When you want to change this behavior the following has to be added to the top of the file:
```tsx
'use client';
```
## Upgrade to newer Next.js version
```zsh
npx @next/codemod@canary upgrade latest
```