Skip to content

Commit

Permalink
Quick bug fix type box :)
Browse files Browse the repository at this point in the history
  • Loading branch information
mariojgt committed Sep 27, 2024
1 parent 97b61c8 commit d6a0b51
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 7 deletions.
1 change: 1 addition & 0 deletions .nuxt/imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ export { useTimer } from '../node_modules/@nuxt/ui/dist/runtime/composables/useT
export { useToast } from '../node_modules/@nuxt/ui/dist/runtime/composables/useToast';
export { useUI } from '../node_modules/@nuxt/ui/dist/runtime/composables/useUI';
export { useColorMode } from '../node_modules/@nuxtjs/color-mode/dist/runtime/composables';
export { useNuxtDevTools } from '../node_modules/@nuxt/devtools/dist/runtime/use-nuxt-devtools';
export { definePageMeta } from '../node_modules/nuxt/dist/pages/runtime/composables';
2 changes: 1 addition & 1 deletion .nuxt/nuxt.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Generated by nuxi
/// <reference types="@nuxt/ui" />
/// <reference types="@nuxt/telemetry" />
/// <reference types="@nuxt/devtools" />
/// <reference types="@nuxt/telemetry" />
/// <reference types="nuxt" />
/// <reference path="types/app-defaults.d.ts" />
/// <reference path="types/plugins.d.ts" />
Expand Down
2 changes: 1 addition & 1 deletion .nuxt/tailwind.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// generated by the @nuxtjs/tailwindcss <https://github.com/nuxt-modules/tailwindcss> module at 27/09/2024, 13:31:17
// generated by the @nuxtjs/tailwindcss <https://github.com/nuxt-modules/tailwindcss> module at 27/09/2024, 13:45:43
const configMerger = require("/Users/mariojosegoes/Documents/YoyoWeather/node_modules/@nuxtjs/tailwindcss/dist/runtime/merger.js");

const inlineConfig = {"content":[],"theme":{"extend":{}},"plugins":[],"darkMode":"class"};
Expand Down
2 changes: 1 addition & 1 deletion .nuxt/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"./tailwind.config/*"
],
"#app-manifest": [
"./manifest/meta/660388cc-839a-4c43-af0b-1cc2e9587a54.json"
"./manifest/meta/dev.json"
],
"#build": [
"."
Expand Down
1 change: 1 addition & 0 deletions .nuxt/types/build.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ declare module "#build/root-component.mjs";
declare module "#build/plugins/server.mjs";
declare module "#build/test-component-wrapper.mjs";
declare module "#build/color-mode-options.mjs";
declare module "#build/devtools/settings.mjs";
declare module "#build/routes.mjs";
declare module "#build/pages.mjs";
declare module "#build/router.options.mjs";
Expand Down
2 changes: 2 additions & 0 deletions .nuxt/types/imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ declare global {
const useModel: typeof import('../../node_modules/vue')['useModel']
const useNuxtApp: typeof import('../../node_modules/nuxt/dist/app/nuxt')['useNuxtApp']
const useNuxtData: typeof import('../../node_modules/nuxt/dist/app/composables/asyncData')['useNuxtData']
const useNuxtDevTools: typeof import('../../node_modules/@nuxt/devtools/dist/runtime/use-nuxt-devtools')['useNuxtDevTools']
const usePopper: typeof import('../../node_modules/@nuxt/ui/dist/runtime/composables/usePopper')['usePopper']
const usePreviewMode: typeof import('../../node_modules/nuxt/dist/app/composables/preview')['usePreviewMode']
const useProvideButtonGroup: typeof import('../../node_modules/@nuxt/ui/dist/runtime/composables/useButtonGroup')['useProvideButtonGroup']
Expand Down Expand Up @@ -322,6 +323,7 @@ declare module 'vue' {
readonly useModel: UnwrapRef<typeof import('../../node_modules/vue')['useModel']>
readonly useNuxtApp: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app/nuxt')['useNuxtApp']>
readonly useNuxtData: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app/composables/asyncData')['useNuxtData']>
readonly useNuxtDevTools: UnwrapRef<typeof import('../../node_modules/@nuxt/devtools/dist/runtime/use-nuxt-devtools')['useNuxtDevTools']>
readonly usePopper: UnwrapRef<typeof import('../../node_modules/@nuxt/ui/dist/runtime/composables/usePopper')['usePopper']>
readonly usePreviewMode: UnwrapRef<typeof import('../../node_modules/nuxt/dist/app/composables/preview')['usePreviewMode']>
readonly useProvideButtonGroup: UnwrapRef<typeof import('../../node_modules/@nuxt/ui/dist/runtime/composables/useButtonGroup')['useProvideButtonGroup']>
Expand Down
10 changes: 7 additions & 3 deletions .nuxt/types/plugins.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,28 @@ type NuxtAppInjections =
InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/revive-payload.client.js").default> &
InjectionType<typeof import("../../node_modules/nuxt/dist/head/runtime/plugins/unhead.js").default> &
InjectionType<typeof import("../../node_modules/nuxt/dist/pages/runtime/plugins/router.js").default> &
InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/payload.client.js").default> &
InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/navigation-repaint.client.js").default> &
InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/check-outdated-build.client.js").default> &
InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/revive-payload.server.js").default> &
InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/chunk-reload.client.js").default> &
InjectionType<typeof import("../../node_modules/nuxt/dist/pages/runtime/plugins/prefetch.client.js").default> &
InjectionType<typeof import("../../node_modules/nuxt/dist/pages/runtime/plugins/check-if-page-unused.js").default> &
InjectionType<typeof import("../../node_modules/@nuxt/devtools/dist/runtime/plugins/devtools.server.js").default> &
InjectionType<typeof import("../../node_modules/@nuxt/devtools/dist/runtime/plugins/devtools.client.js").default> &
InjectionType<typeof import("../../node_modules/@nuxt/ui/dist/runtime/plugins/slideovers.js").default> &
InjectionType<typeof import("../../node_modules/@nuxt/ui/dist/runtime/plugins/modals.js").default> &
InjectionType<typeof import("../../node_modules/@nuxt/ui/dist/runtime/plugins/colors.js").default> &
InjectionType<typeof import("../../node_modules/@nuxtjs/color-mode/dist/runtime/plugin.server.js").default> &
InjectionType<typeof import("../../node_modules/@nuxtjs/color-mode/dist/runtime/plugin.client.js").default> &
InjectionType<typeof import("../../node_modules/@nuxt/icon/dist/runtime/plugin.js").default>
InjectionType<typeof import("../../node_modules/@nuxt/icon/dist/runtime/plugin.js").default> &
InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/dev-server-logs.js").default> &
InjectionType<typeof import("../../node_modules/nuxt/dist/app/plugins/check-if-layout-used.js").default>

declare module '#app' {
interface NuxtApp extends NuxtAppInjections { }

interface NuxtAppLiterals {
pluginName: 'nuxt:revive-payload:client' | 'nuxt:head' | 'nuxt:router' | 'nuxt:payload' | 'nuxt:revive-payload:server' | 'nuxt:chunk-reload' | 'nuxt:global-components' | 'nuxt:prefetch' | '@nuxt/icon'
pluginName: 'nuxt:revive-payload:client' | 'nuxt:head' | 'nuxt:router' | 'nuxt:revive-payload:server' | 'nuxt:chunk-reload' | 'nuxt:global-components' | 'nuxt:prefetch' | 'nuxt:checkIfPageUnused' | '@nuxt/icon' | 'nuxt:checkIfLayoutUsed'
}
}

Expand Down
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<!-- Search Bar -->
<div class="flex justify-center my-8 gap-2 md:gap-4 md:flex-row flex-col">
<UInput class="w-full md:w-1/2" v-model="location" variant="outline" placeholder="Enter a location fo the weather forecast" />
<UButton @click="searchWeather" label="Search" />
<UButton @click="searchWeather(location)" label="Search" />
</div>
<div class="flex justify-center my-8 gap-2 md:gap-4 md:flex-row flex-col">
<UButton @click="searchWeather('London')">London</UButton>
Expand Down

0 comments on commit d6a0b51

Please sign in to comment.