Update 06-page-modules.md

This commit is contained in:
Dillon Kearns 2021-10-10 09:01:43 -07:00 committed by GitHub
parent f1a564da03
commit 3884e86c37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,10 +1,10 @@
---
description: TODO
description: Page Modules are the blueprint for a route in elm-pages.
---
# Page Modules
Page Templates are Elm modules in the `src/Page` folder that define a top-level `template`.
Page Templates are Elm modules in the `src/Page` folder that define a top-level `page`.
You build the `template` using a builder chain, adding complexity as needed. You can scaffold a simple stateless page with `elm-pages add Hello.Name_`. That gives you `src/Page/Hello/Name_.elm`.