Преглед на файлове

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>