Discover how to integrate Lovable with IntelliJ IDEA effortlessly. Follow our concise, step-by-step guide to streamline your workflow and boost your coding productivity.

Book a call with an Expert
Starting a new venture? Need to upgrade your web app? RapidDev builds application with your growth in mind.
package.json in the root of your Lovable project.
{
"name": "lovable-project",
"version": "1.0.0",
"dependencies": {
// Your project dependencies go here.
},
"devDependencies": {
"typescript": "^4.9.5",
"ts-node": "^10.9.1"
},
"scripts": {
"build": "tsc",
"start": "ts-node src/index.ts"
}
}
tsconfig.json in the root directory of your project.
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"rootDir": "src",
"outDir": "dist",
"strict": true,
"esModuleInterop": true
},
"include": [
"src"
]
}
src as your source folder and dist as your output folder. It also enables strict type checking.
src if it does not already exist.src folder, create a new file called index.ts.index.ts as a simple example to test your integration:
console.log("Lovable project running with IntelliJ IDEA integration");
Lovable TS.src/index.ts if you want to run directly with ts-node. If you prefer to compile first, point this to dist/index.js after running the build script.
Lovable TS configuration from the run/debug selector in IntelliJ IDEA.start script defined in package.json using ts-node, executing the src/index.ts file.This prompt helps an AI assistant understand your setup and guide you through the fix step by step, without assuming technical knowledge.
When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.