-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ANNE Etienne
authored and
ANNE Etienne
committed
Nov 22, 2024
1 parent
72c0ff9
commit a0743b5
Showing
4 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
_authenticated: false | ||
|
||
_exact: true | ||
--- | ||
|
||
<!DOCTYPE html> | ||
|
File renamed without changes.
13 changes: 13 additions & 0 deletions
13
manual/docs/04-cli/042-apis-to-business-website/05-add-dynamic-content.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# 5 - Add dynamic content | ||
|
||
# Use your first directive | ||
|
||
1. Create a new directory at `src/pages/apis/`. | ||
|
||
Add a new (empty) file `page.html` inside your new `/apis/` folder. | ||
|
||
Look for this page in your browser preview by adding `/apis` to the end of your existing preview URL. (e.g. http://localhost:3333/apis) | ||
|
||
Change the browser preview URL to view /apis/test instead. (This is a page you have not yet created.) | ||
|
||
Note the different output when previewing an `empty` page, and one that doesn’t exist. This will help you troubleshoot in the future. |