Share Vue code with CodeThis
Single-file components with <script setup>, composables, and scoped styles — rendered exactly how you wrote them.
Paste Vue nowWhat you get
- Vue-aware syntax highlighting via CodeMirror
- Instant shareable link — no signup required
- Optional expiration (7 days, 30 days, permanent)
- Password protection for private pastes
- Works with the REST API and MCP server
- Rich markdown and MDC components alongside code
Common use cases for Vue pastes
- Component reproductions for issues
- Composable examples
- Pinia store snippets
- Nuxt page drafts
Example
<script setup lang="ts">
const count = ref(0)
const double = computed(() => count.value * 2)
</script>
<template>
<button @click="count++">{{ count }} ({{ double }})</button>
</template>
Related languages
Ready to share some Vue?