Skip to content

E0305: The JSX target can't import islands ​

Importing a component file needs a JSX target with RegisterIsland (github.com/vuka-lang/ui v0.25 and later, and every github.com/vuka-lang/ui/v2). The target the file renders with is older.

Wrong ​

text
// go.mod
require github.com/vuka-lang/ui v0.20.0
text
// go.mod
require github.com/vuka-lang/ui/v2 v2.0.0

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.