Comments (19)
Please try the above mentioned fix :)
If it doesn't work, provide a minimal reproduction
from nuxt.js.
Would you provide a reproduction? π
from nuxt.js.
When I use nuxt generate /test/ goes to /test however in dev no changes /test/ to /test/
Due to some issue can't prerender in nuxt to test. You need to test locally
from nuxt.js.
I can't reproduce this locally.
from nuxt.js.
Let me check
from nuxt.js.
I have a new small project the same issue occurred, but I would like to provide private repository access.
@danielroe Which user should I give private repo access to?
from nuxt.js.
/font-keren/ redirects to /font-keren
I tried creating middleware to fix this, but it goes into an infinite loop of redirecting
Command - npm run generate
Deployed on cloudflare pages
from nuxt.js.
Provide a minimal reproduction please. Otherwise it will be difficult to help.
Also be aware that some platforms, e.g. Netlify, have their own trailing slash rules that they apply!
So does Cloudflare pages apparently, see https://developers.cloudflare.com/pages/platform/serving-pages/#route-matching
You can maybe work around by using the nitro option below (available since Nitro v2.6.3):
defineNuxtConfig({
nitro: {
prerender: {
autoSubfolderIndex: false
}
})
from nuxt.js.
I am using Cloudflare pages. Can I provide you private repository access?
from nuxt.js.
@rahulkumarsingh73690 See my updated answer.
Also, a whole project is no minimal reproduction.
from nuxt.js.
Very small project just started
from nuxt.js.
Tested locally the same issue in localhost. So I don't think due to hosting provider.
some pages works and mostly not
npm run generate
from nuxt.js.
https://github.com/rahulkumarsingh73690/cuping-font/
from nuxt.js.
Would you be able to provide a reproduction? π
More info
Why do I need to provide a reproduction?
Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making.
What will happen?
If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritise it based on its severity and how many people we think it might affect.
If needs reproduction
labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), we'll close them. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.
How can I create a reproduction?
We have a couple of templates for starting with a minimal reproduction:
π https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz
π https://codesandbox.io/s/github/nuxt/starter/v3-codesandbox
A public GitHub repository is also perfect. π
Please ensure that the reproduction is as minimal as possible. See more details in our guide.
You might also find these other articles interesting and/or helpful:
from nuxt.js.
This is not a minimal reproduction. Please check the text above and provide one with as little business logic, additional files etc. as possible.
I'm afraid that it is not feasible going through a project file that contains more than just how to reproduce the issue.
Also, please add instructions how to reproduce the problem.
from nuxt.js.
I didn't understand what makes this issue happen, I created new project everything works fine that's why I shared repo it contains only few pages
from nuxt.js.
/disclaimer/ goes to /disclaimer/
/font-keren/ redirects to /font-keren (why?)
from nuxt.js.
@rahulkumarsingh73690 how did you solve it?
from nuxt.js.
@ennioVisco use server side rendering that's it
from nuxt.js.
Related Issues (20)
- The CJS build of Vite's Node API is deprecated. HOT 2
- Big problem HOT 1
- Transform components imported by explicit import
- docs: improve testing component example to avoid auto import misunderstanding HOT 4
- During the development process, the error Last few GCs will be reported. HOT 1
- Infinite warn and memory crash when updating nuxt from 3.10 to 3.11 HOT 2
- nitro has memory leak when building with loglevel 3 but not loglevel 1 HOT 1
- Custom useFetch type error HOT 5
- Latest nuxt version delays the load of CSS on SSR HOT 3
- Cannot read documentation HOT 1
- showError doesn't trigger `app:error` (anymore?) HOT 1
- Nuxt Docs seem broken HOT 5
- ReportingObserver [deprecation]: Unload event listeners are deprecated and will be removed
- Suggest supporting React component import to compensate for the current deficiencies in the Vue ecosystem. HOT 1
- Clicking on NuxtLink with "#" as Value Triggers Loading of The Page HOT 2
- Is there any way to change the runtimeConfig attribute defined in nuxt.config.ts in the plugin in nuxt 3.6.5 version? HOT 1
- Hello, there is a duplicate item in the compilerOptions.paths in tsconfig.server.json, which includes "~/*": ["../*", "../*"] HOT 1
- nuxt provides a simplified version of the documentation HOT 1
- loading animation (spaLoadingTemplate) disappears before request fully loaded HOT 2
- Restore scrollposition flicks on browser back
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuxt.js.