Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to import "Routes" from another file into Main.wasp? If possible. - Wasp
W
Wasp
•
12mo ago
•
7 replies
mario.p
How to import "Routes" from another file into Main.wasp? If possible.
Hi guys
,
I
'm looking for a way to define Routes in Wasp in a separate file
(myroutes
.wasp
) and then import them into Main
.wasp but I can
't find anything from the documentation
.
Does anyone have a suggestion or a solution
?
Thanks
!
Wasp
Join
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.
4,650
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
import actions into main.wasp
W
Wasp / 🙋questions
2y ago
How to break main.wasp into smaller files?
W
Wasp / 🙋questions
9mo ago
Can I split up the main.wasp file into seperate files
W
Wasp / 🙋questions
2y ago
main.wasp question
W
Wasp / 🙋questions
2y ago