We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not a problem, but the imports like
import { prisma } from "../../../server/db/client";
feel a little disorienting. Other frameworks like Redwood have moved to using typescript paths to solve them.
Paths are a typescript compilation option (see here) in the tsconfig file with which we can use something like
import { prisma } from "src/server/db/client";
in place of
To do this, we need to define baseUrl and paths object in tsconfig file, and then change the imports.
baseUrl
paths
Alternate would be to go forward with what is available right now and don't change it.
Happy to work on a PR for this.
The text was updated successfully, but these errors were encountered:
Please search for existing issues before making one. Duplicate of #51, #85, #144, #188.
Sorry, something went wrong.
No branches or pull requests
Is your feature request related to a problem? Please describe.
Not a problem, but the imports like
feel a little disorienting. Other frameworks like Redwood have moved to using typescript paths to solve them.
Describe the solution you'd like to see
Paths are a typescript compilation option (see here) in the tsconfig file with which we can use something like
in place of
To do this, we need to define
baseUrl
andpaths
object in tsconfig file, and then change the imports.Describe alternate solutions
Alternate would be to go forward with what is available right now and don't change it.
Additional information
Happy to work on a PR for this.
The text was updated successfully, but these errors were encountered: