Applied new layout system

This commit is contained in:
2019-06-03 12:20:17 +09:00
parent 36427a1501
commit 3268488b7b
26 changed files with 346 additions and 308 deletions

View File

@ -43,7 +43,7 @@ component FooBar
Your page needs to become available on the `/foobar` route. Let's add it to `pages/index.go`, inside `Configure`:
```go
l.Page("/foobar", foobar.Get)
page.Get(app, "/foobar", foobar.Get)
```
Your IDE should automatically insert the needed package import upon saving the file.