Comments (7)
Sorry to necromance this but it's semi-related: what are your thoughts on having path aliases in the create-t3-app
code? I'm asking because with the issue #116 I'm having to import files that are quite far away and that causes tons of ../../..
in imports.
from create-t3-app.
I would dig a "src/" or "app/" path alias of some form. Had back luck w/ path aliasing and monorepos tho so not sure if I'd want it to be the default 🤔
from create-t3-app.
We won't implement this, a person brought it up on the discord server and we had decided that if someone is unfamiliar with paths, they will be really confused.
If you want to, you can make the path alias on your own.
We could also make this a prompt but is this really required?
from create-t3-app.
Appreciate your response guys!
I can see how this can be annoying in monorepos.
I would not call it a strong requirement, to me it was a small but improvement as I dislike these forests of empty slashes, so I don't think it deserves a CLI prompt just for this.
One can do a small refactor or fork it and make personal changes then :)
Thanks!
from create-t3-app.
Yeah agreed, I'm closing this now
from create-t3-app.
@juliusmarminge sorry to ping you, not sure if you saw the above comment.
Since I think those aliases affect only the contributors and not the consumers maybe it's a different topic and the decision taken here does not apply? If you see fit I'll create a new issue to discuss how the aliases should be.
from create-t3-app.
@juliusmarminge sorry to ping you, not sure if you saw the above comment.
Sorry didn't get notified of that.
Since I think those aliases affect only the contributors and not the consumers maybe it's a different topic and the decision taken here does not apply? If you see fit I'll create a new issue to discuss how the aliases should be.
Yeah do that and we can take it from there 👍
from create-t3-app.
Related Issues (20)
- feat: Add shadcn as a cli option HOT 4
- Add autoprefixer HOT 1
- bug: next-auth v5 environment variables HOT 2
- bug: Drizzle Studio requires a new version of Drizzle Kit to run locally HOT 1
- feat: NextAuth documentation update for app router HOT 4
- bug: drizzle push command in package.json deprecated in drizzle-kit version 0.21.0
- bug: db:push script deprecation error w/ drizzle-kit
- feat: Use executing package manager to install dependencies HOT 4
- docs: some of the redirect links in usage > tRPC page not working. HOT 2
- bug: t3 App not building App Router Application HOT 2
- feat: Stale T3 Folder Structure in docs HOT 5
- bug: Setting import-alias via the command line fails.
- feat: Add .idea folder to .gitignore file so that it will not be accidentally committed to the git repo
- bug: create-T3 app with drizzle missing default id value for users table on new user HOT 4
- feat(template): add type constraint to exported metadata in layout.tsx HOT 1
- bug: Unable to run Installation Command HOT 2
- bug: HOT 2
- bug: Error: connect ECONNREFUSED HOT 1
- bug: Next Auth Sign Up Default User Id Missing HOT 3
- feat: Improve docs on deployment with Docker
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 create-t3-app.