import { createView } from "./bud/view/_jsx.ts.js"
{{- range $import := $.ServerImports }}
import {{$import.Pascal}} from "./{{$import}}"
{{- end }}

export default createView({
  page: {{$.Page.Pascal}},
  {{- if $.Error }}
  error: {{$.Error.Pascal}},
  {{- end }}
  {{- if $.Layout }}
  layout: {{$.Layout.Pascal}},
  {{- end }}
  frames: [
    {{- range $frame := $.Frames }}
    {{ $frame.Pascal }},
    {{- end }}
  ],
  client: "/{{$.Client}}",
})
