diff --git a/components/home/HomeSearchInput.vue b/components/home/HomeSearchInput.vue index 7719f1c6ab2bac24524d514441a7e3cad132c10d..17a2cf65a354504fab8e1674a34c7b95a173732b 100644 --- a/components/home/HomeSearchInput.vue +++ b/components/home/HomeSearchInput.vue @@ -2,7 +2,7 @@ <section class="bg-gray-100 dark:bg-gray-800"> <div class="container py-12 relative prose"> <div class="flex justify-evenly"> - <AppTInputIcon + <TInputIcon ref="search" v-model="query" type="search" diff --git a/components/search/SearchContainer.vue b/components/search/SearchContainer.vue index 79c1816abb875be5ffdce66e3987a0f2bccf2942..4664157821fcecb9090013f7ec14211050d9d189 100644 --- a/components/search/SearchContainer.vue +++ b/components/search/SearchContainer.vue @@ -7,7 +7,7 @@ <div class="md:flex justify-between mb-8"> <div class="w-full"> <div class="md:flex"> - <AppTInputIcon + <TInputIcon v-model="query" type="search" :placeholder="searchPlaceholder || $t('search')" diff --git a/nuxt.config.js b/nuxt.config.js index b3ac3b2d4c53b9c3ca873b9ce10079dfe0b9c499..bb8dfa7905654812a28309bfc1ce5ba621f98120 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -40,7 +40,7 @@ export default { /** * Auto import components (https://go.nuxtjs.dev/config-components) */ - components: true, + components: ['~/components', '~/components/app/'], /** * Plugins to run before rendering page (https://go.nuxtjs.dev/config-plugins)