-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mason Kramer
committed
Nov 11, 2019
1 parent
78e6bf6
commit b9b4b53
Showing
3 changed files
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,24 @@ | ||
<template> | ||
<div class="home"> | ||
<img alt="Vue logo" src="../assets/logo.png"> | ||
<HelloWorld msg="Welcome to Your Vue.js + TypeScript App"/> | ||
<img alt="Vue logo" src="../assets/logo.png" /> | ||
<HelloWorld msg="Welcome to Your Vue.js + TypeScript App" /> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import Vue from 'vue'; | ||
import HelloWorld from '@/components/HelloWorld.vue'; // @ is an alias to /src | ||
import { createComponent } from '@vue/composition-api'; | ||
export default Vue.extend({ | ||
name: 'home', | ||
export default createComponent({ | ||
components: { | ||
HelloWorld, | ||
}, | ||
}); | ||
// export default Vue.extend({ | ||
// name: 'home', | ||
// components: { | ||
// HelloWorld, | ||
// }, | ||
// }); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters