lovable-stack 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +128 -68
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,68 +1,102 @@
|
|
|
1
|
+
# Lovable Stack
|
|
1
2
|
|
|
2
|
-
Lovable
|
|
3
|
-
Build Lovable AI projects locally without configuration stress.
|
|
4
|
-
Lovable-Stack is a Bun powered project generator that recreates the working stack behind projects generated by Lovable AI, so you can run, edit, and fully own your code locally.
|
|
5
|
-
It does the heavy setup for you.
|
|
6
|
-
You focus on building.
|
|
7
|
-
|
|
8
|
-
Why Lovable-Stack?
|
|
9
|
-
AI builders are amazing for speed.
|
|
10
|
-
You can:
|
|
11
|
-
• Generate a full demo site in minutes
|
|
12
|
-
• Connect GitHub
|
|
13
|
-
• Ship ideas fast
|
|
14
|
-
But when you clone that project locally, you may face:
|
|
15
|
-
• Dependency issues
|
|
16
|
-
• Runtime conflicts
|
|
17
|
-
• TypeScript strict errors
|
|
18
|
-
• Missing configuration alignment
|
|
19
|
-
• Bun lock visible packages
|
|
20
|
-
Lovable-Stack fixes that.
|
|
21
|
-
It scaffolds a clean, aligned local environment so your project runs properly on your machine.
|
|
3
|
+
Build Lovable AI projects locally without configuration stress.
|
|
22
4
|
|
|
23
|
-
|
|
24
|
-
Lovable-Stack creates a fully configured project using:
|
|
25
|
-
• Bun
|
|
26
|
-
• React-Vite
|
|
27
|
-
• TypeScript
|
|
28
|
-
• Tailwind CSS
|
|
29
|
-
• shadcn/ui
|
|
30
|
-
• Radix UI
|
|
31
|
-
Everything is preconfigured and version-aligned.
|
|
32
|
-
No manual wiring.
|
|
33
|
-
No rebuilding the stack from scratch.
|
|
5
|
+
Lovable Stack is a Bun-powered project generator that recreates the working stack behind projects generated by Lovable AI, so you can run, edit, and fully own your code locally. It does the heavy setup for you — you focus on building.
|
|
34
6
|
|
|
35
|
-
|
|
36
|
-
Before using Lovable-Stack, install:
|
|
37
|
-
• Bun (latest version)
|
|
38
|
-
• Basic knowledge of React & TypeScript
|
|
39
|
-
Install Bun MacOS/Linux
|
|
40
|
-
curl -fsSL https://bun.sh/install | bash
|
|
7
|
+
---
|
|
41
8
|
|
|
42
|
-
|
|
43
|
-
powershell -c "irm bun.sh/install.ps1|iex"
|
|
9
|
+
## Quick Start
|
|
44
10
|
|
|
11
|
+
1. Create a new project:
|
|
45
12
|
|
|
46
|
-
|
|
13
|
+
```bash
|
|
14
|
+
bunx lovable-stack my-app
|
|
47
15
|
|
|
48
|
-
|
|
16
|
+
Enter the project folder:
|
|
49
17
|
|
|
50
|
-
Quick Start
|
|
51
|
-
1. Create a new project
|
|
52
|
-
bunx lovable-stack my-app
|
|
53
|
-
2. Enter the project folder
|
|
54
18
|
cd my-app
|
|
55
|
-
|
|
19
|
+
|
|
20
|
+
Install dependencies:
|
|
21
|
+
|
|
56
22
|
bun install
|
|
57
|
-
|
|
23
|
+
|
|
24
|
+
Start the development server:
|
|
25
|
+
|
|
58
26
|
bun run dev
|
|
27
|
+
|
|
59
28
|
Your app is now running locally.
|
|
60
29
|
|
|
30
|
+
Why Lovable Stack?
|
|
31
|
+
|
|
32
|
+
AI builders are amazing for speed. You can:
|
|
33
|
+
|
|
34
|
+
Generate a full demo site in minutes
|
|
35
|
+
|
|
36
|
+
Connect GitHub
|
|
37
|
+
|
|
38
|
+
Ship ideas fast
|
|
39
|
+
|
|
40
|
+
But when you clone that project locally, you may face:
|
|
41
|
+
|
|
42
|
+
Dependency issues
|
|
43
|
+
|
|
44
|
+
Runtime conflicts
|
|
45
|
+
|
|
46
|
+
TypeScript strict errors
|
|
47
|
+
|
|
48
|
+
Missing configuration alignment
|
|
49
|
+
|
|
50
|
+
Bun lock visible packages
|
|
51
|
+
|
|
52
|
+
Lovable Stack fixes that. It scaffolds a clean, aligned local environment so your project runs properly on your machine.
|
|
53
|
+
|
|
54
|
+
What You Get
|
|
55
|
+
|
|
56
|
+
Lovable Stack creates a fully configured project using:
|
|
57
|
+
|
|
58
|
+
Bun
|
|
59
|
+
|
|
60
|
+
React + Vite
|
|
61
|
+
|
|
62
|
+
TypeScript
|
|
63
|
+
|
|
64
|
+
Tailwind CSS
|
|
65
|
+
|
|
66
|
+
shadcn/ui
|
|
67
|
+
|
|
68
|
+
Radix UI
|
|
69
|
+
|
|
70
|
+
Everything is preconfigured and version-aligned. No manual wiring. No rebuilding the stack from scratch.
|
|
71
|
+
|
|
72
|
+
Requirements
|
|
73
|
+
|
|
74
|
+
Before using Lovable Stack, install:
|
|
75
|
+
|
|
76
|
+
Bun (latest version)
|
|
77
|
+
|
|
78
|
+
Basic knowledge of React & TypeScript
|
|
79
|
+
|
|
80
|
+
Install Bun (MacOS/Linux):
|
|
81
|
+
|
|
82
|
+
curl -fsSL https://bun.sh/install | bash
|
|
83
|
+
|
|
84
|
+
Install Bun (Windows):
|
|
85
|
+
|
|
86
|
+
powershell -c "irm bun.sh/install.ps1|iex"
|
|
87
|
+
|
|
88
|
+
Visit Bun website: https://bun.com/docs/installation
|
|
89
|
+
|
|
61
90
|
How To Use With Lovable AI
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
91
|
+
|
|
92
|
+
Generate your project using Lovable AI.
|
|
93
|
+
|
|
94
|
+
Copy your generated components (e.g., header.tsx, hero.tsx).
|
|
95
|
+
|
|
96
|
+
Paste them into /src/components inside your Lovable Stack project.
|
|
97
|
+
|
|
98
|
+
Continue building locally.
|
|
99
|
+
|
|
66
100
|
Now you own your code and environment.
|
|
67
101
|
|
|
68
102
|
Project Structure
|
|
@@ -75,39 +109,65 @@ my-app/
|
|
|
75
109
|
├── tsconfig.json
|
|
76
110
|
├── vite.config.ts
|
|
77
111
|
└── bun.lock
|
|
112
|
+
|
|
78
113
|
Everything is already wired together.
|
|
114
|
+
|
|
79
115
|
Common Errors & Fixes
|
|
116
|
+
|
|
80
117
|
TypeScript “must be imported as type” error
|
|
118
|
+
|
|
81
119
|
If you see an error about importing types incorrectly, use:
|
|
120
|
+
|
|
82
121
|
import { NavLink as RouterNavLink } from "react-router-dom";
|
|
83
122
|
import type { NavLinkProps } from "react-router-dom";
|
|
123
|
+
|
|
84
124
|
Instead of:
|
|
85
|
-
|
|
125
|
+
|
|
126
|
+
import { NavLinkProps } from "react-router-dom";
|
|
127
|
+
|
|
86
128
|
This project uses strict TypeScript settings.
|
|
87
129
|
|
|
88
130
|
Reporting Issues
|
|
131
|
+
|
|
89
132
|
If you encounter an error not listed here:
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
133
|
+
|
|
134
|
+
Open a GitHub Issue
|
|
135
|
+
|
|
136
|
+
Include:
|
|
137
|
+
|
|
138
|
+
Your OS
|
|
139
|
+
|
|
140
|
+
Bun version
|
|
141
|
+
|
|
142
|
+
Full error message
|
|
143
|
+
|
|
144
|
+
Screenshot (if possible)
|
|
145
|
+
|
|
146
|
+
This helps improve Lovable Stack for everyone.
|
|
97
147
|
|
|
98
148
|
Philosophy
|
|
99
|
-
|
|
100
|
-
Lovable
|
|
149
|
+
|
|
150
|
+
AI helps you move fast. Lovable Stack helps you move correctly.
|
|
151
|
+
|
|
101
152
|
It’s built for developers who want:
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
153
|
+
|
|
154
|
+
Speed without losing control
|
|
155
|
+
|
|
156
|
+
AI assistance without dependency confusion
|
|
157
|
+
|
|
158
|
+
A stable local development environment
|
|
159
|
+
|
|
105
160
|
This project is designed to work alongside Lovable AI projects.
|
|
106
161
|
It is not affiliated with or endorsed by Lovable.
|
|
107
162
|
|
|
108
163
|
Contributing
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
164
|
+
|
|
165
|
+
Contributions are welcome:
|
|
166
|
+
|
|
167
|
+
Fork the repository
|
|
168
|
+
|
|
169
|
+
Create a new branch
|
|
170
|
+
|
|
171
|
+
Submit a pull request
|
|
172
|
+
|
|
113
173
|
If you’ve solved an issue or improved the developer experience, feel free to contribute.
|