]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
refactor: shouldn't use `@` without absolute necessity
authorHaoqun Jiang <haoqunjiang@gmail.com>
Tue, 23 Aug 2022 07:55:53 +0000 (15:55 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Tue, 23 Aug 2022 07:55:53 +0000 (15:55 +0800)
Reasoning: https://github.com/vuejs/create-vue/pull/45#issuecomment-1034555772

template/code/router/src/views/HomeView.vue
template/code/typescript-router/src/views/HomeView.vue

index 225d93a9f55aaa8d79b7f1487e636afc2898dd5a..6bb706f08b841ad18ad98fa022e34b1095749521 100644 (file)
@@ -1,5 +1,5 @@
 <script setup>
-import TheWelcome from '@/components/TheWelcome.vue'
+import TheWelcome from '../components/TheWelcome.vue'
 </script>
 
 <template>
index 6555a646b89847dcefe8d4a0bcb3831898e800dc..d5c0217e45ce8f933917195f236f1d118b317e86 100644 (file)
@@ -1,5 +1,5 @@
 <script setup lang="ts">
-import TheWelcome from '@/components/TheWelcome.vue'
+import TheWelcome from '../components/TheWelcome.vue'
 </script>
 
 <template>