Skip to content

vite-vue demos

Online Demos

usage from @0.3.0

For example, like vite-vue , vue version >=3.2.0

markdown code
md
      
      null
    
<script setup>
import { ref } from "vue";

const data = ref("world");
</script>

<template>
  <h1>Hello {{ data }}</h1>
</template>

<style>
h1 {
  font-size: 1.5rem;
}
</style>
Open on CodeSandboxOpen Sandbox

Released under the MIT License.