forked from iod/cpnode-front
Merge branch 'master' of https://github.com/daotl/fes-starter
This commit is contained in:
commit
fa8cbdbc35
1278
package-lock.json
generated
1278
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -43,7 +43,7 @@
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^16.0.0",
|
||||
"@commitlint/config-conventional": "^16.0.0",
|
||||
"@daotl/eslint-config-vue": "0.2.3",
|
||||
"@daotl/eslint-config-vue": "0.2.4",
|
||||
"@daotl/prettier-config": "^0.1.2",
|
||||
"@daotl/tsconfig": "^0.0.4",
|
||||
"@fesjs/plugin-sass": "^2.0.0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { access } from '@fesjs/fes'
|
||||
import type { App } from 'vue'
|
||||
import { createPinia } from 'pinia'
|
||||
import type { App } from 'vue'
|
||||
|
||||
import PageLoading from '~/components/PageLoading.vue'
|
||||
import UserCenter from '~/components/UserCenter.vue'
|
||||
|
@ -22,6 +22,7 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { enums } from '@fesjs/fes'
|
||||
|
||||
import useCounterStore from '~/stores/counter'
|
||||
|
||||
const store = useCounterStore()
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { defineStore, acceptHMRUpdate } from 'pinia'
|
||||
import { acceptHMRUpdate, defineStore } from 'pinia'
|
||||
|
||||
const useCounterStore = defineStore('counter', {
|
||||
state: () => {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { defineStore, acceptHMRUpdate } from 'pinia'
|
||||
import { acceptHMRUpdate, defineStore } from 'pinia'
|
||||
|
||||
const useUserStore = defineStore('user', {
|
||||
state: () => {
|
||||
|
1
src/types/auto-imports.d.ts
vendored
1
src/types/auto-imports.d.ts
vendored
@ -9,6 +9,7 @@ declare global {
|
||||
const effectScope: typeof import('vue')['effectScope']
|
||||
const EffectScope: typeof import('vue')['EffectScope']
|
||||
const ElButton: typeof import('element-plus/es')['ElButton']
|
||||
const ElLoadingDirective: typeof import('element-plus/es')['ElLoadingDirective']
|
||||
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
|
||||
const getCurrentScope: typeof import('vue')['getCurrentScope']
|
||||
const h: typeof import('vue')['h']
|
||||
|
1
src/types/components.d.ts
vendored
1
src/types/components.d.ts
vendored
@ -6,6 +6,7 @@ declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
ElButton: typeof import('element-plus/es')['ElButton']
|
||||
IMdiAccountBox: typeof import('~icons/mdi/account-box')['default']
|
||||
Loading: typeof import('element-plus/es')['ElLoadingDirective']
|
||||
PageLoading: typeof import('./../components/PageLoading.vue')['default']
|
||||
UserCenter: typeof import('./../components/UserCenter.vue')['default']
|
||||
}
|
||||
|
3
src/types/shims.d.ts
vendored
3
src/types/shims.d.ts
vendored
@ -1,6 +1,7 @@
|
||||
// shims.d.ts
|
||||
declare module '*.vue' {
|
||||
import { ComponentOptions } from 'vue'
|
||||
import type { ComponentOptions } from 'vue'
|
||||
|
||||
const component: ComponentOptions
|
||||
export default component
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user