qb1t
qb1t
Explore posts from servers
NNuxt
Created by qb1t on 11/17/2024 in #❓・help
NuxtUI v2 make primary color black
Good response but didn't fully resolve my issue now all my components are white
6 replies
PPrisma
Created by qb1t on 9/30/2024 in #help-and-questions
Correct way to setup prisma + docker
What about the first deployment?
7 replies
PPrisma
Created by qb1t on 9/30/2024 in #help-and-questions
Correct way to setup prisma + docker
so npx prisma migrate deploy is the command I am looking for?
7 replies
NNuxt
Created by qb1t on 2/4/2023 in #❓・help
Scroll to top when new page loads
I tagged this post as ["solved", "answered", "bug"] because the last solution worked for me, so solved and answered but the thing should have worked automatically so also bug
44 replies
NNuxt
Created by qb1t on 2/4/2023 in #❓・help
Scroll to top when new page loads
I've created this project like 4 days ago so don't know what went wrong
44 replies
NNuxt
Created by qb1t on 2/4/2023 in #❓・help
Scroll to top when new page loads
how?
44 replies
NNuxt
Created by qb1t on 2/4/2023 in #❓・help
Scroll to top when new page loads
but in package.json nothing strange just scripts and devDependencies nuxt "^3.1.0"
44 replies
NNuxt
Created by qb1t on 2/4/2023 in #❓・help
Scroll to top when new page loads
Sorry I cannot do that even sharing the link and pieces of code are bit on the edge 😅
44 replies
NNuxt
Created by qb1t on 2/4/2023 in #❓・help
Scroll to top when new page loads
nope
44 replies
NNuxt
Created by qb1t on 2/4/2023 in #❓・help
Scroll to top when new page loads
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: false,
css: ["@/assets/styles.css", "@/assets/scrollbar.css"],
app: {
head: {
title: "Lipa Tree Properties",
htmlAttrs: {
lang: 'en'
},
link: [
{rel: "icon", href: "/assets/icon.png"}
]
}
},
})
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
ssr: false,
css: ["@/assets/styles.css", "@/assets/scrollbar.css"],
app: {
head: {
title: "Lipa Tree Properties",
htmlAttrs: {
lang: 'en'
},
link: [
{rel: "icon", href: "/assets/icon.png"}
]
}
},
})
44 replies
NNuxt
Created by qb1t on 2/4/2023 in #❓・help
Scroll to top when new page loads
But what surprises me is that the hook is not even called like this is in the documentation so it should work regardless right?
44 replies
NNuxt
Created by qb1t on 2/4/2023 in #❓・help
Scroll to top when new page loads
this code is a component if you scroll down a bit
44 replies
NNuxt
Created by qb1t on 2/4/2023 in #❓・help
Scroll to top when new page loads
this is the page if you want to have a look your self
44 replies
NNuxt
Created by qb1t on 2/4/2023 in #❓・help
Scroll to top when new page loads
(dev version a lot of testing code)
<template>
<div class="showcase-main">

<div class="showcase-cards">
<img src="/icons/arrow-left.svg" class="showcase-arrow-left" @click="slide('left')">
<PropertyCard v-for="i in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]"/>
<img src="/icons/arrow-right.svg" class="showcase-arrow-right" @click="slide('right')">
</div>
<NuxtLink to="/properties" class="btn-primary">See All Properites</NuxtLink>
</div>
</template>
<template>
<div class="showcase-main">

<div class="showcase-cards">
<img src="/icons/arrow-left.svg" class="showcase-arrow-left" @click="slide('left')">
<PropertyCard v-for="i in [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]"/>
<img src="/icons/arrow-right.svg" class="showcase-arrow-right" @click="slide('right')">
</div>
<NuxtLink to="/properties" class="btn-primary">See All Properites</NuxtLink>
</div>
</template>
44 replies
NNuxt
Created by qb1t on 2/4/2023 in #❓・help
Scroll to top when new page loads
Even in build
44 replies
NNuxt
Created by qb1t on 2/4/2023 in #❓・help
Scroll to top when new page loads
And it doesn't work for me
44 replies
NNuxt
Created by qb1t on 2/4/2023 in #❓・help
Scroll to top when new page loads
<NuxtLink/> Nuxt 3
44 replies
NNuxt
Created by qb1t on 2/4/2023 in #❓・help
Scroll to top when new page loads
Is it disabled in dev?
44 replies
NNuxt
Created by qb1t on 2/4/2023 in #❓・help
Scroll to top when new page loads
When clicking between routes. for example your scroll down in index and click on view more products that puts you on /products but like in the middle of the page
44 replies
NNuxt
Created by qb1t on 1/20/2023 in #❓・help
Help with CORS
I didn't setup cors on my api server 🤦‍♂️
3 replies