Skip to content

Commit

Permalink
create your first page added
Browse files Browse the repository at this point in the history
  • Loading branch information
ANNE Etienne authored and ANNE Etienne committed Nov 22, 2024
1 parent 72c0ff9 commit a0743b5
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
Binary file modified cli/templates/cms.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion cli/templates/cms/src/pages/page.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
_authenticated: false

_exact: true
---

<!DOCTYPE html>
Expand Down
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.

0 comments on commit a0743b5

Please sign in to comment.