diff --git a/auto-imports.d.ts b/auto-imports.d.ts index 33e95b5..3903c36 100644 --- a/auto-imports.d.ts +++ b/auto-imports.d.ts @@ -8,7 +8,7 @@ declare global { const defineAsyncComponent: typeof import('vue')['defineAsyncComponent'] const defineComponent: typeof import('vue')['defineComponent'] const defineLoader: typeof import('vue-router/auto')['defineLoader'] - const definePage: typeof import('vue-router/auto')['definePage'] + const definePage: typeof import('unplugin-vue-router/runtime')['_definePage'] const effectScope: typeof import('vue')['effectScope'] const getCurrentInstance: typeof import('vue')['getCurrentInstance'] const getCurrentScope: typeof import('vue')['getCurrentScope'] @@ -38,6 +38,7 @@ declare global { const readonly: typeof import('vue')['readonly'] const ref: typeof import('vue')['ref'] const resolveComponent: typeof import('vue')['resolveComponent'] + const resolveDirective: typeof import('vue')['resolveDirective'] const shallowReactive: typeof import('vue')['shallowReactive'] const shallowReadonly: typeof import('vue')['shallowReadonly'] const shallowRef: typeof import('vue')['shallowRef'] diff --git a/components.d.ts b/components.d.ts index 9740b42..71bff48 100644 --- a/components.d.ts +++ b/components.d.ts @@ -8,6 +8,11 @@ export {} declare module '@vue/runtime-core' { export interface GlobalComponents { ButtonRepo: typeof import('./src/components/ButtonRepo.vue')['default'] + copy: typeof import('./src/components/MainHeader copy.vue')['default'] + Footer: typeof import('./src/components/Footer.vue')['default'] + Header: typeof import('./src/components/Header.vue')['default'] + MainFooter: typeof import('./src/components/MainFooter.vue')['default'] + MainHeader: typeof import('./src/components/MainHeader.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] } diff --git a/index.html b/index.html index 67278ea..364212b 100644 --- a/index.html +++ b/index.html @@ -4,13 +4,13 @@ Vite, Vue3, Tailwind CSS - + /> --> diff --git a/package.json b/package.json index 6b00f9c..7f968b7 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vite-vue3-tailwind-starter", "version": "0.0.0", "scripts": { - "dev": "vite --host", + "dev": "vite --host --port 2000", "build": "vue-tsc --noEmit && vite build", "serve": "vite preview" }, diff --git a/src/App.vue b/src/App.vue index a1f62ac..98240ae 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,26 +1,3 @@ - - diff --git a/src/components/ButtonRepo.vue b/src/components/ButtonRepo.vue index 98f189a..e28391b 100644 --- a/src/components/ButtonRepo.vue +++ b/src/components/ButtonRepo.vue @@ -1,8 +1,27 @@ + +