Skip to content

E0311: Island component is ambiguous ​

A bare @ui.Island found more than one file for the type (islands/Chart.vue and islands/Chart.tsx), and the extension decides the framework, so vuka won't guess.

Wrong ​

vuka
// web/islands/Chart.vue and web/islands/Chart.tsx both exist
@ui.Island
type Chart struct{ Series []float64 }
vuka
@ui.Island("islands/Chart.vue")
type Chart struct{ Series []float64 }

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.