yashwp
yashwp
NNuxt
Created by yashwp on 7/11/2024 in #❓・help
FAQ schema is considered as Question schema
No description
12 replies
NNuxt
Created by yashwp on 7/1/2024 in #❓・help
How do I upgrade Vue? Is there a command for that or need to manually do npm install
How do I upgrade Vue 3.4.21 to 3.4.31? Is there a command for that or need to maually do npm install for vue package? I've used npm up vue that is not working
11 replies
NNuxt
Created by yashwp on 6/27/2024 in #❓・help
Nuxt does not render updated content after build
I've integrated WordPress for blogs on our site. At the time of build, the blogs that are already there are getting rendered. For there are 3 blogs on the site. Now from WordPress content team has added 5 more blogs. Their blogs are not showing up on the site. They will start showing, only if I redeploy. This site is supposed to be SSR Why is that? Below is my nuxt.config.ts
export default defineNuxtConfig({
pages: true,
components: [
{
path: '~/components',
pathPrefix: false
}
],
modules: [
'@nuxt/content',
'@nuxtjs/sitemap'
],
nitro: {
prerender: {
crawlLinks: true,
failOnError: false,
routes: ['/', '/sitemap.xml']
},
routeRules: {
...
}
},
site: {...},
sitemap: {
xsl: false,
exclude: [...],
sources: [
'/api/__sitemap__/posts',
...
],
sitemaps: true,
discoverImages: false,
defaultSitemapsChunkSize: 500
}
});
export default defineNuxtConfig({
pages: true,
components: [
{
path: '~/components',
pathPrefix: false
}
],
modules: [
'@nuxt/content',
'@nuxtjs/sitemap'
],
nitro: {
prerender: {
crawlLinks: true,
failOnError: false,
routes: ['/', '/sitemap.xml']
},
routeRules: {
...
}
},
site: {...},
sitemap: {
xsl: false,
exclude: [...],
sources: [
'/api/__sitemap__/posts',
...
],
sitemaps: true,
discoverImages: false,
defaultSitemapsChunkSize: 500
}
});
1 replies
NNuxt
Created by yashwp on 6/15/2024 in #❓・help
Did anyone able to deploy Nuxt 3 prerender site on AWS-Amplify?
The deployment show successful, but when I visit https://main.<hash_string>.amplifyapp.com, I'm not able to access the site. Though if I add /index.html at the end I can see the deployed version. I've deleted Rewrites and redirects rule that are there. When I'm trying to visit to another routes directly too, it is throwing 502 error. How can I fix this?
6 replies
NNuxt
Created by yashwp on 4/15/2024 in #❓・help
How to create a permanent redirection on several old routes?
Hi, I've a nuxt app, hosted on Vercel. Route 53 is dns manager. There are some old URLs that Google Search Console is scraping, which are not removed or names are changed to new names. for example: OLD URL - domain.com/flagship NEW URL - domain.com/flagship-with-seo-keywords GSC is somehow scrapping old url also, so I want to redirect all the traffic coming from the old URL to the NEW URL via 301. Now I need to know how can I add such permanent redirections. so the GSC stops coming 404, instead, count such URLs as redirected to NEW. Basically, Best way to do so
4 replies