22 Oct 2025 06:54 PM
I was trying to create jsx file in custom app, but it gave me below error which doesnt seems directly related.
Invalid project structure detected
Your project uses an outdated file structure that is not supported in dt-app v1.0.
To ensure compatibility and avoid build issues, please update your project structure.
Required Changes:
1. Configure sourceRoot in app.config.json:
• Set "build.sourceRoot" to your desired source directory (default: "./")
• Example: "build": { "sourceRoot": "src" }
2. Organize your code using the standardized structure:
<sourceRoot>/
├── ui/ ← UI components and main.tsx
│ ├── main.tsx
│ └── tsconfig.json
├── api/ ← App functions (*.function.ts)
├── actions/ ← Workflow actions (*.action.ts)
├── settings/ ← Settings widgets and schemas
└── documents/ ← Document files
Thank you for your support!
But when i change the file to tsx , it works fine. Is there any guidance on this?
26 Oct 2025 10:08 AM
let's address this more detailed, why you need to create jsx?