Skip to content

Instantly share code, notes, and snippets.

@xiongchengqing
Created April 14, 2022 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xiongchengqing/03618aa908777bdaf6c610277a4cedd0 to your computer and use it in GitHub Desktop.
Save xiongchengqing/03618aa908777bdaf6c610277a4cedd0 to your computer and use it in GitHub Desktop.
vue3-slot-access
<template>
<p>{{ greeting }} World!</p>
</template>
<script>
export default {
data() {
return {
greeting: 'Hello'
}
}
}
</script>
<style>
body {
font-family: sans-serif;
}
</style>
{
"scripts": [],
"styles": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment