mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-26 13:21:42 +03:00
Update 06-page-modules.md
This commit is contained in:
parent
f1a564da03
commit
3884e86c37
@ -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`.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user