Skip to content

Commit

Permalink
Fix vue 3 template
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanelian committed Apr 8, 2021
1 parent 4e812bf commit e2f1b12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/vue/client/js/components/Hello.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default defineComponent({
type: String,
required: true
},
compiler: {
language: {
type: String,
required: true
},
Expand All @@ -36,7 +36,7 @@ export default defineComponent({
};
// https://v3.vuejs.org/guide/composition-api-introduction.html#standalone-computed-properties
const message = computed(() => `Hello from ${props.sdk} and ${props.compiler}!`);
const message = computed(() => `Hello from ${props.sdk} and ${props.language}!`);
// Everything that are returned will be exposed to the component template!
return {
Expand Down

0 comments on commit e2f1b12

Please sign in to comment.