HardWare
HardWare
NNuxt
Created by Wirkhof on 11/15/2024 in #❓・help
Unable to restrict /es/admin path
Not gonna lie, if page is localized I prefere to use prefix on all pages, or no prefix at all. It's going to work any way correct cause i18n redirect on default browser locale if enabled. You have literary described here how to do it. https://i18n.nuxtjs.org/docs/v8/guide/custom-paths#module-configuration
6 replies
NNuxt
Created by HardWare on 11/14/2024 in #❓・help
Docker nuxt $fetch and useFetch
But it's fine if i'm using my docker container name to do server request?
11 replies
NNuxt
Created by HardWare on 11/14/2024 in #❓・help
Docker nuxt $fetch and useFetch
Okey, so its unable to change and I have to work with it.
11 replies
NNuxt
Created by HardWare on 9/20/2024 in #❓・help
How can I prevent showing form data in URL in NuxtUI submit?
<UForm :validate="validate" :state="state" class="space-y-4" @submit.stop.prevent="onSubmit">
<UFormGroup :label="$t('form.input.email')+'*'" name="email">
<UInput v-model="state.email" />
</UFormGroup>
<UFormGroup :label="$t('form.input.password')+'*'" name="password">
<UInput v-model="state.password" type="password" />
</UFormGroup>
<UButton :label="$t('form.button.register')" type="submit" block />
</UForm>
<UForm :validate="validate" :state="state" class="space-y-4" @submit.stop.prevent="onSubmit">
<UFormGroup :label="$t('form.input.email')+'*'" name="email">
<UInput v-model="state.email" />
</UFormGroup>
<UFormGroup :label="$t('form.input.password')+'*'" name="password">
<UInput v-model="state.password" type="password" />
</UFormGroup>
<UButton :label="$t('form.button.register')" type="submit" block />
</UForm>
2 replies