Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

500 The "/" and "/(marketing)" route conflict with each other #60

Closed
drpedapati opened this issue Apr 23, 2024 · 1 comment
Closed

500 The "/" and "/(marketing)" route conflict with each other #60

drpedapati opened this issue Apr 23, 2024 · 1 comment

Comments

@drpedapati
Copy link

Struggling with running the fresh pull starter after following the quick start tutorial on replit.

adding a +page.svelte to / (routes) folder does not resolve issue.

500
The "/" and "/(marketing)" route

image

@kryanbeane
Copy link

kryanbeane commented Apr 24, 2024

You can't have a +page.svelte insite your slug folders. The reason to use (marketing) is to have different +layout.svelte files for different routes.

So you can have something like this


└── +src/
    ├── +layout.svelte
    ├── (marketing)/
    │   ├── +layout.svelte
    │   └── route1/
    │       └── +page.svelte
    └── (app)/
        ├── +layout.svelte
        └── route2/
            └── +page.svelte

@scosman scosman closed this as completed Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants