-
Notifications
You must be signed in to change notification settings - Fork 2.6k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
[Feature]: Add basename
to remix config file
#759
Comments
Not sure if this feature is in plans but it sounds very useful. I'd love to work on this. I'm new to Remix and any guidance would be awesome |
@meehawk , take a look at this line
|
@meehawk Sorry I didn't see this sooner. Been on vacation the last few days. I was planning on doing this but have you already started? |
@zachdtaylor I have started it. I wasn't sure if you're going to work on it. I'm really sorry 🥲 |
@meehawk no worries, I should have left a comment saying that I was going to work on it |
Hello! This feature is very important to be able to use Remix in my company. Any news? |
@yamidsumer I created a package that will let you mount routes from any folder to any base path Here's a sample site: https://remix-mount-routes-example.herokuapp.com/ It has links to the package repo and example repo. |
@kiliman I noticed that the resources, such as the |
It's mentioned in the README
module.exports = {
ignoredRouteFiles: ['.*'],
publicPath: `${basePath}/build/`,
assetsBuildDirectory: `public${basePath}/build`,
...
} |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
What is the new or updated feature that you are suggesting?
Somebody in discord asked if he could set a
basename
for a Remix app, so all routes would have thatbasename
prepended to them: https://discord.com/channels/770287896669978684/770287896669978687/914576247068188692. I think this is something we could add to theremix.config.js
file.Why should this feature be included?
This would allow more flexibility in configuring a Remix app, giving more power to the developer a la "you own your stack."
The text was updated successfully, but these errors were encountered: