P粉6628028822023-08-17 11:11:47
Here is an official playground, which is probably the easiest way if you want to use SFCs. The content of the playground is encoded into the URL, so you can save it by saving the URL.
Or you can create a snippet using CDN Vue and Vuetify:
const { createApp, ref } = Vue const { createVuetify } = Vuetify const vuetify = createVuetify() const app = { template: ` <v-app> <v-main> </v-main> </v-app> `, setup(){ return { } } } createApp(app).use(vuetify).mount('#app')
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/vuetify@3/dist/vuetify.min.css" /> <link href="https://cdn.jsdelivr.net/npm/@mdi/font@5.x/css/materialdesignicons.min.css" rel="stylesheet"> <div id="app"></div> <script src="https://unpkg.com/vue@3/dist/vue.global.prod.js"></script> <script src="https://cdn.jsdelivr.net/npm/vuetify@3/dist/vuetify.min.js"></script>