فهرست منبع

build: test import sort

Burt 2 سال پیش
والد
کامیت
fcc09d608f
2فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 1 0
      .eslintrc.cjs
  2. 2 1
      src/pages/index/index.vue

+ 1 - 0
.eslintrc.cjs

@@ -61,6 +61,7 @@ module.exports = {
     'import/no-extraneous-dependencies': 'off',
     'no-plusplus': 'off',
     'no-shadow': 'off',
+    'vue/multi-word-component-names': 'off',
   },
   // eslint-import-resolver-typescript 插件,@see https://www.npmjs.com/package/eslint-import-resolver-typescript
   settings: {

+ 2 - 1
src/pages/index/index.vue

@@ -7,9 +7,10 @@
   </view>
 </template>
 
-<script setup lang="ts">
+<script setup lang="ts" name="TestIndex">
 import { ref } from 'vue'
 import { fun } from '../../test/import-sort'
+
 const title = ref('Hello')
 fun()
 </script>