feat: Adds docker support to start building views.
This commit is contained in:
@@ -38,6 +38,18 @@ extension ViewController {
|
||||
}
|
||||
}
|
||||
|
||||
extension ViewController: TestDependencyKey {
|
||||
extension ViewController: DependencyKey {
|
||||
public static let testValue = Self()
|
||||
|
||||
// FIX: Fix.
|
||||
public static let liveValue = Self(
|
||||
view: { _ in
|
||||
return MainPage {
|
||||
div {
|
||||
h1 { "It works!" }
|
||||
h2 { "Browser sync works!" }
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user