Many developpers love Vue, but if you want to build an app, you have to deal with all the 'node toolset'.
What if you could the same without building tool ?
Documentation : µTemplate
You can test the demo here : Demo
<!-- the defined component -->
<the-green></the-green>
<!-- and its definition -->
<template is="uce-template">
<style scoped>
span { color: green }
</style>
<the-green>
The <span>{{thing}}</span> is green
</the-green>
<script type="module">
export default {
setup() {
return {thing: 'world'}
}
}
</script>
</template>
Top comments (0)