Skip to content

Commit

Permalink
🚁 Upgrade to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
MihaelIsaev committed Apr 4, 2023
1 parent 57f7dc2 commit 9510cfc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Web

class HelloPage: ViewController {
class HelloPage: PageController {
@DOM override var body: DOM.Content {
P("Hello page")
.textAlign(.center)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Web

class NotFoundPage: ViewController {
class NotFoundPage: PageController {
@DOM override var body: DOM.Content {
P("this is catchall aka 404 NOT FOUND page")
.textAlign(.center)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Web

class WelcomePage: ViewController {
class WelcomePage: PageController {
@State var clickCount = 0
@State var clicked = false

Expand Down

0 comments on commit 9510cfc

Please sign in to comment.