chore: remove .hbs file submission check

This commit is contained in:
niyonggui 2022-03-27 10:23:46 +08:00
parent 28530b2744
commit 87d3078941
4 changed files with 20 additions and 9 deletions

View File

@ -4,5 +4,6 @@ module.exports = {
'package.json': ['prettier --write'], 'package.json': ['prettier --write'],
'*.vue': ['prettier --write', 'stylelint --fix'], '*.vue': ['prettier --write', 'stylelint --fix'],
'*.{scss,less,styl,css,html}': ['stylelint --fix', 'prettier --write'], '*.{scss,less,styl,css,html}': ['stylelint --fix', 'prettier --write'],
'*.md': ['prettier --write'] '*.md': ['prettier --write'],
'*.{hbs}': ['prettier --write']
} }

View File

@ -6,4 +6,5 @@
/vite.config.ts /vite.config.ts
/src/types/env.d.ts /src/types/env.d.ts
/docs/**/* /docs/**/*
/plop/**/*
CHANGELOG CHANGELOG

View File

@ -44,7 +44,6 @@
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
"pinia": "^2.0.12", "pinia": "^2.0.12",
"pinia-plugin-persist": "^1.0.0", "pinia-plugin-persist": "^1.0.0",
"plop": "^3.0.5",
"qrcode": "^1.5.0", "qrcode": "^1.5.0",
"qs": "^6.10.3", "qs": "^6.10.3",
"vue": "3.2.31", "vue": "3.2.31",
@ -102,7 +101,8 @@
"vite-plugin-windicss": "^1.8.3", "vite-plugin-windicss": "^1.8.3",
"vue-tsc": "^0.33.2", "vue-tsc": "^0.33.2",
"windicss": "^3.5.1", "windicss": "^3.5.1",
"windicss-analysis": "^0.3.5" "windicss-analysis": "^0.3.5",
"plop": "^3.0.5"
}, },
"engines": { "engines": {
"node": ">= 14.0.0" "node": ">= 14.0.0"

View File

@ -1,11 +1,20 @@
<script setup lang='ts'> <script setup lang="ts">
import { ElButton } from 'element-plus' import { useI18n } from '@/hooks/web/useI18n' import { ref import { ElButton } from 'element-plus'
} from 'vue' defineOptions({ name: '{{upperFirstName}}', components: { ElButton }, setup() {} }) import { useI18n } from '@/hooks/web/useI18n'
import { ref } from 'vue'
defineOptions({
name: '{{ upperFirstName }}',
components: {
ElButton
},
setup() {}
})
const { t } = useI18n() const { t } = useI18n()
</script> </script>
<template> <template>
<ContentWrap> <ContentWrap>
<ElButton type='primary'>{{name}}</ElButton> <ElButton type="primary">{{ name }}</ElButton>
</ContentWrap> </ContentWrap>
</template> </template>