v-rap is here!
Happy VueConf China 2024!
by LemonNekoFiddle
HTML
<script type="importmap">
{
"imports": {
"vue": "https://unpkg.com/vue@3/dist/vue.esm-browser.js",
"v-rap": "https://cdn.jsdelivr.net/npm/@lemonneko/[email protected]/+esm"
}
}
</script>
<div id="app">
<div v-rap class="rap">
<div>I don't care how many children are there.</div>
<div>Just remove them.</div>
<div>Then create a video.</div>
<div>You don't think it's rap? I don't care.</div>
</div>
</div>
<script type="module">
import { createApp } from 'vue'
import { pluginRap } from 'v-rap'
createApp({
data() {
return {
message: 'Hello Vue!'
}
}
})
.use(pluginRap)
.mount('#app')
</script>