File tree Expand file tree Collapse file tree 3 files changed +1813
-2033
lines changed
fixtures/vuejs3-typescript Expand file tree Collapse file tree 3 files changed +1813
-2033
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div id =" app" >
3
- <img src =" ./assets/logo.png " >
3
+ <img : src =" logoPath " >
4
4
<hello ></hello >
5
5
</div >
6
6
</template >
7
7
8
8
<script lang="ts">
9
9
import Hello from ' ./components/Hello.vue'
10
+ import logoPath from ' ./assets/logo.png' ;
10
11
11
12
class TestClassSyntax {
12
13
@@ -16,6 +17,9 @@ export default {
16
17
name: ' app' ,
17
18
components: {
18
19
Hello
20
+ },
21
+ computed: {
22
+ logoPath : () => logoPath
19
23
}
20
24
}
21
25
</script >
Original file line number Diff line number Diff line change 96
96
"ts-loader" : " ^8.0.1 || ^9.0.0" ,
97
97
"typescript" : " >=3.7.2" ,
98
98
"vue" : " ^3.0.2" ,
99
- "vue-loader" : " 16.6 .0" ,
99
+ "vue-loader" : " ^ 16.1 .0" ,
100
100
"vue-template-compiler" : " ^2.5" ,
101
101
"webpack-notifier" : " ^1.6.0" ,
102
102
"zombie" : " ^6.1.4"
You can’t perform that action at this time.
0 commit comments