Skip to content

E0141: A template has two scripts or two scoped stylesheets ​

The <script lang="ts"> after a template's markup is its component's script, and the <style scoped> its stylesheet: one of each per template. This one has two of a kind.

Wrong ​

html
<div class="chart"></div>

<script lang="ts">
export default component<Chart>((el) => { … })
</script>

<script lang="ts">
export default component<Chart>((el) => { … })
</script>
html
<div class="chart"></div>

<script lang="ts">
export default component<Chart>((el) => { …; … })
</script>

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.