Replies: 1 comment
-
|
I was strugglin with that one as well. Any solutions? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The Radix version, pre v1, had the following initialization question that allowed us to specify an abnormal location for our tsconfig.json file. This was particularly useful for projects needing more than one tsconfig (one for server and another for client)
Where is your tsconfig.json or jsconfig.json file? › ./tsconfig.jsonFor example, in the below project structure:
I have the following
components.json{ "$schema": "https://shadcn-vue.com/schema.json", "style": "default", "typescript": true, "tsConfigPath": "./inertia/tsconfig.json", "tailwind": { "config": "tailwind.config.js", "css": "inertia/css/app.css", "baseColor": "slate", "cssVariables": true }, "framework": "vite", "aliases": { "components": "~/components", "utils": "~/lib/utils" } }To specify I want to use the tsconfig at
./inertia/tsconfig.jsonand this worked great! This allowed my AdonisJS app to use thetsconfig.jsonfile in the root of my project and for the Inertia VueJS app to use the./inertia/tsconfig.json.Was support for this dropped in v1 with Reka UI? It seems the preflight check is specifically only searching the root of the project for
tsconfig.json,tsconfig.web.json, ortsconfig.app.jsonin that order. This, causes the init command to only see thetsconfig.jsonfile in the root of my project, which is meant for the AdonisJS application, not the Inertia VueJS app.Beta Was this translation helpful? Give feedback.
All reactions