Comments (3)
Did you make sure you updated remix.config to ignore all routes (default v2 config)? Otherwise, Remix will process both conventions and result in duplicate route ids.
// remix.config.js
module.exports = {
// Tell Remix to ignore everything in the routes directory.
// We'll let `createRoutesFromFolders` take care of that.
ignoredRouteFiles: ["**/*"],
routes: //...
};
from v1-compat-utils.
Aha, that was it, we had this setup already as ['**/.*',…]
. Thank you.
from v1-compat-utils.
https://remix.run/docs/en/main/start/v2#upgrading-without-changing-files
It'd be nice if that's added to this section in the v2 migration guide
from v1-compat-utils.
Related Issues (7)
- 1.16.0 / 1.16.1 / 1.17.0 : @remix-run/v1-route-convention do not save new route HOT 3
- Issues with the new esm support HOT 16
- Dependencies of v1-meta and v1-route-convention block upgrade to v2
- Error when attemping to use V1 Routes package: Error: Error loading Remix config at remix.config.js HOT 3
- v1-route-convention working with unstable_vitePlugin HOT 1
- Peer dependencies are outdated HOT 2
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 v1-compat-utils.