Updated URLs (#21102)

This commit is contained in:
Kevin Lewis
2024-01-26 09:30:23 +01:00
committed by GitHub
parent 7e1f989f6c
commit e5cd3f3616
2 changed files with 4 additions and 4 deletions

View File

@@ -115,7 +115,7 @@ correlate with the URL for the page. For example `about` will later correlate to
Create a text input field called `title` and a WYSIWYG input field called `content`. In Roles & Permissions, give the
Public role read access to the new collection. Create 3 items in the new collection -
[here's some sample data](https://github.com/directus/examples/blob/main/website-next13/demo-data).
[here's some sample data](https://github.com/directus-community/getting-started-demo-data).
Inside of `app`, create a new directory called `[slug]` with a file called `page.tsx`. This is a dynamic route, so a
single file can be used for all of the top-level pages.
@@ -171,7 +171,7 @@ Create the following fields in your `posts` data model:
In Roles & Permissions, give the Public role read access to the `authors`, `posts`, and `directus_files` collections.
Create 3 items in the posts collection -
[here's some sample data](https://github.com/directus/examples/blob/main/website-next13/demo-data).
[here's some sample data](https://github.com/directus-community/getting-started-demo-data).
### Create Blog Post Listing

View File

@@ -113,7 +113,7 @@ correlate with the URL for the page. For example `about` will later correlate to
Create a text input field called `title` and a WYSIWYG input field called `content`. In Roles & Permissions, give the
Public role read access to the new collection. Create 3 items in the new collection -
[here's some sample data](https://github.com/directus/examples/blob/main/website-nuxt3/demo-data).
[here's some sample data](https://github.com/directus-community/getting-started-demo-data).
Inside of `pages`, create a new file called `[slug].vue`. This is a dynamic route, so a single file can be used for all
of the top-level pages.
@@ -165,7 +165,7 @@ Create the following fields in your `posts` data model:
In Roles & Permissions, give the Public role read access to the `authors`, `posts`, and `directus_files` collections.
Create 3 items in the posts collection -
[here's some sample data](https://github.com/directus/examples/blob/main/website-nuxt3/demo-data).
[here's some sample data](https://github.com/directus-community/getting-started-demo-data).
### Create Blog Post Listing