Skip to content

E0719: A page's struct is declared nowhere ​

A page under pages/ is a struct and its markup. A .vuka.html file whose markup has no struct above it, and no struct of its name declared beside it, renders nothing vuka can route: in vuka 1 the folder's routes_gen.go declared one, which vuka no longer writes. Reported at the file.

Wrong ​

html
<!-- pages/about.vuka.html -->
<script lang="go">
package pages
</script>

<h1>About</h1>
html
<!-- pages/about.vuka.html -->
<script lang="go">
package pages

type About struct{}
</script>

<h1>About</h1>

Released under the MIT License. Vuka builds on Go and its tools, which are made by the Go Authors. Vuka is not affiliated with Google or the Go project. Go is a trademark of Google LLC.