匠人学院 JR Academy
  • Position

    Where am I now, and where should I go?

    How your job is changing, where your experience can take you and what you still need for a target role, worked out from what you have actually done. Free, and the full result needs no sign-up.

    Analyse my career and skills

    Look up a career

    Will AI replace my job?AI impact and transition paths for common careersNew jobs in the AI eraWhat they do, what they need, how to move in

    Focused tools

    AI Engineer interview readiness30 timed questions on what you still need before interviewsCareer personality testDirections that suit how you workReturning to China checkJob prospects in China by school, major and graduation date

    AI coach

    Talk to your AI coachStill unsure after your result? Talk through what is holding you back
  • Core courses

    AI Engineer BootcampEngineering bootcamp from LLM apps to agentsAI Engineer Full-Stack Project Class16 weeks · RAG and full-stack AI projectsVibe Coding Masterclass8 weeks · direct agents to build and ship a productAI Essentials10 hours · use AI for email, reports, data and copyAI Office Automation Course8 weeks · help a whole company adopt AIOne-Person Company (OPC) Bootcamp15 weeks in person · build a one-person company with AIAll courses →

    AI engineering

    Machine Learning & Data Engineering Full-Stack ClassAI Agent & MCP Project BootcampAI Engineer Core TechniquesAI Engineer FoundationsAI Engineer Advanced: RAG to Agents and TuningClaude Code TasterAll AI engineering courses →

    AI at work

    AI Coding for everyoneClaude Code One-Day Masterclass (Non-Technical)Enterprise AI Automation BootcampAI Marketing BootcampAI Risk, Governance and Audit CourseOpenClaw 4-Week Personal AI Assistant BootcampAll AI-at-work courses →

    Career development

    AI Product Manager (BA) Bootcamp + InternshipAustralia IT Interview BootcampAustralia IT Technical Interview BootcampAustralia IT Resume BootcampAustralia Big Tech Job Search BootcampAustralia IT Career Planning BootcampAll career courses →

    Learn free first

    Vibe CodingAI for office workPrompt MasterAI EngineerAI data analysisResource centerInstructorsAll learning paths →
  • Evidence

    What will convince an employer?

    Certifications, projects, team work and competition entries, collected into one portfolio.

    See the portfolio

    Certifications

    Cert Master · all certificationsPrep and mock exams for AWS, Azure, GCP, Claude and moreAWS CLF-C02Entry-level AWS cloud certificationAWS SAA-C03Entry certification for cloud architectsClaude certificationsAnthropic Claude certification seriesAll certifications →

    Projects and team work

    P3 team projectsBuild a project with real teammates in a simulated team workflowP3 project experienceThe parts of a P3 project that go on your resumeDemo DayProject showcaseP3 certificatesProof once a project is completeAll of P3 →

    Competitions and work

    HackathonsBuild something against the clockSubmit your workAdd your project to the showcaseCareerOS portfolioDo tasks in the desktop app; your results become portfolio pieces
    Cert MasterBrowser extension, app and mini programScreenshot a question for analysis and practise anywhereAbout Cert Master
  • Connect

    How do I get myself in front of employers?

    Resume, interviews, referrals and mentors. See how far you are from the target role first, then decide what to fix.

    Start with Jobpin

    Resume and openings

    Graduate careersGraduate preparation across Australia, China, Malaysia, Singapore, the US and UKJobpinAI job search workspace: resume, roles, applicationsAI resumeRewrite your resume against a job descriptionReferralsRoles shared by students and mentorsOpportunitiesInternships, projects and collaborationsOffer boardOffers students have received

    Interviews

    AI Engineer interview guideSeven areas, with worked examplesFDE interview guideFive rounds, from scoping to the customer roundAI mock interviewPractise by text or voice and see the gapsInterview storiesReal interview experiencesSystem Design handbookPrepare for system design interviewsAll interview prep →

    Mentors

    1:1 mentorsBook AI, career and technical mentors by the hourGroup tutoringShare a tutor with a few others and pay less eachCareer coachingResume, interview and direction packages
    Jobpin desktopOne workspace for the whole job searchOrganise real experience and refine resume versions for target roles on macOS or Windows.About Jobpin
BusinessMembershipDownload CareerOS
0
匠人学院 JR Academy

Follow Us

linkedinfacebooktwitterinstagramyoutube

We Accept

/image/layout/pay-paypal.png/image/layout/pay-visa.png/image/layout/pay-master-card.png/image/layout/pay-airwallex.png/image/layout/pay-alipay.png
Airbotix · AI learning & creation for kids Another Life · AI story game
Products46

CareerOS and tools

  • CareerOS
  • Cert Master
  • Jobpin
  • Jobpin web
  • Jobpin report
  • Jobpin desktop download
  • My job search reports
  • Buy report credits
  • Jobpin billing
  • AI Toolbox
  • AI Skill Marketplace

Membership

  • Membership
  • AI membership

Courses

  • Bootcamps
  • Training Camp
  • Kanban learning
  • AI Builder course
  • MCP course
  • NotebookLM workshop
  • Business Analyst course
  • Web Full-Stack Bootcamp
  • DevOps Bootcamp
  • Data Engineering Bootcamp
  • Data Analysis Bootcamp
  • Coding for Beginners
  • Algorithm Bootcamp

Career services

  • Graduate careers
  • Graduate careers in Australia
  • Graduate careers in China
  • Graduate careers in Malaysia
  • Graduate careers in Singapore
  • Graduate careers in the US
  • Graduate careers in the UK
  • 1:1 coaching
  • Career coaching
  • AI Engineer VIP
  • BA & PM Internship
  • Data Science Internship
  • Data Analysis Internship
  • Marketing Internship
  • Resume Review
  • Interview Coaching
  • Job Application Service
  • Job Monitoring
  • LinkedIn Management
  • LinkedIn Networking
Library57

Learning paths

  • All Learning Paths
  • AI Engineer
  • Context Engineering
  • Vibe Coding
  • Prompt Master
  • AI Builder
  • AI Product Manager
  • Python Basics
  • AI Productivity
  • AI Data Analysis
  • AI Finance
  • AI Content Creation
  • AI Image Creation
  • Frontend Development
  • Hermes Agent
  • OpenClaw Local Agent

Interactive labs

  • Prompt Lab
  • Frontend Lab
  • JavaScript Lab
  • Python Lab
  • AWS Lab
  • Azure Lab
  • LLM Lab
  • Git Lab

Reference and guides

  • Resources
  • Wiki
  • Cheat sheets
  • Roadmaps
  • AI roadmaps
  • Videos
  • Ebooks
  • Blog
  • Interview handbook
  • Mock exams
  • Free resources

Cities

  • Sydney
  • Melbourne
  • Brisbane
  • Adelaide
  • Singapore
  • Kuala Lumpur
  • London
  • New York
  • San Francisco
  • Los Angeles
  • Seattle
  • Toronto
  • Vancouver

Immigration

  • Australia Immigration
  • Skilled Visa 189/190/491
  • Employer Sponsored 482/186/494
  • Business Visa 188/888
  • UK Immigration
  • US Immigration
  • Canada Immigration
  • Singapore immigration
  • Malaysia immigration
Business20

For business

  • AI for Business
  • Business portal sign-in
  • Corporate Training
  • Internship Partnership
  • Recruitment Partnership
  • Enterprise (EN)

Metatree AI Lab

  • Metatree AI Lab (Chinese)
  • AI solutions (Chinese)
  • Digital employees (Chinese)
  • Case studies (Chinese)
  • Metatree AI Lab
  • AI services
  • Digital employees
  • Case studies

AI education for kids

  • Airbotix — AI Learning & Creation for Kids
  • AU Family Resource Hub
  • NAPLAN Report Guide
  • My School Data Guide
  • Sydney Private School Fees 2026
  • Kids Coding Programs
About15

Company

  • About Us
  • Our Mentors
  • Become a Mentor
  • Metaverse Classroom
  • JR Careers
  • Another Life — AI Story Game
  • Contact Us

Help and policies

  • FAQs
  • Terms & Conditions
  • Privacy Policy
  • Cancellation & Refund Policy
  • Site map

Friend links

  • CS Browser

Contact

  • hello@jiangren.com.au
  • 0421-672-555

Offices

Level 10b, 144 Edward Street, Brisbane CBD (Headquarter)
Level 2, 171 La Trobe St, Melbourne VIC 3000
45A13, Block B, Oriental Hope Tianxiang Plaza, 500 Tianfu Avenue Middle Section, Wuhou District, Chengdu, Sichuan, China
Business Hub, 155 Waymouth St, Adelaide SA 5000
Disclaimer
footer-disclaimerfooter-disclaimer

JR Academy acknowledges Traditional Owners of Country throughout Australia and recognises the continuing connection to lands, waters and communities. We pay our respect to Aboriginal and Torres Strait Islander cultures; and to Elders past and present. Aboriginal and Torres Strait Islander peoples should be aware that this website may contain images or names of people who have since passed away.

All content on the JR Academy website, including course materials, logos, and information provided, is protected under Australian intellectual property laws. Unauthorized use, sale, distribution, reproduction, or modification is strictly prohibited. Violations may result in legal action. By accessing our website, you agree to respect our intellectual property. JR Academy Pty Ltd reserves all rights, including patents, trademarks, and copyrights. Any infringement will be subject to legal prosecution. View Terms of Service

© 2017-2026 JR Academy Pty Ltd. All rights reserved.

ABN 26621887572

HomeLearnCoursesCerts
  1. Home
  2. Learn
  3. Blog
  4. Lovable 实战手册:用 AI 对话构建真实应用 — Lovable 常见问题 FAQ:踩坑避坑指南
JR Academy · BlogCareer insights

Lovable 实战手册:用 AI 对话构建真实应用 — Lovable 常见问题 FAQ:踩坑避坑指南

Lovable 使用中最常见的问题和解决方案:生成代码出错、Supabase 连接、部署失败、定价疑问等

Published2026-11-30
Reading time1 min
Author

Contents

  • 关于生成质量
  • 关于 Supabase 集成
  • 关于定价和限制
  • 关于工作流最佳实践

使用 Lovable 的过程中会遇到各种问题,这里汇总了最常见的疑问和解决方案。

关于生成质量

Q:AI 生成的代码不是我想要的,怎么办?

A:最常见的原因是 prompt 不够具体。尝试以下策略:

  1. 更具体地描述:不说"美化一下界面",改成"把背景色改成 #F8F9FA,标题字体改成 24px 加粗,卡片加 1px #E5E7EB 边框和 8px 圆角"
  2. 分解需求:一次只改一个地方
  3. 提供参考:说"参考 Stripe Dashboard 的风格"或粘贴一个 UI 截图
  4. 使用 Select 模式:直接点击预览里的元素,让 AI 定位到具体组件

Q:AI 修改了我不想改的地方,怎么恢复?

A:立刻使用版本回滚:

  1. 右上角点击时钟图标(History)
  2. 找到修改前的版本
  3. 点击 Restore

预防方法:在 prompt 里明确说 "只修改 [具体组件名],不要改其他任何文件"


Q:生成的代码有 TypeScript 错误,但 AI 说修好了还是报错?

A:这是 Lovable 的已知问题。解决步骤:

  1. 把完整的错误信息(包括文件名和行号)粘贴到对话框,让 AI 重新修复
  2. 如果多次失败,切换到 Code 视图,把出错的文件内容复制出来,加上错误信息,重新描述让 AI 修
  3. 实在不行,clone 到本地用 VS Code/Cursor 手动修

Q:我想用 Lovable 生成后端 API,可以吗?

A:Lovable 主要生成前端代码(React),"后端"逻辑通过 Supabase 实现:

  • 数据库操作:Supabase 的 JavaScript SDK
  • 服务端逻辑:Supabase Edge Functions(基于 Deno)
  • 文件存储:Supabase Storage

如果你需要独立的后端 API(Node.js/Python/Go),Lovable 不是最佳选择,建议用 Cursor 或直接手写。

关于 Supabase 集成

Q:连接 Supabase 后,数据库操作报 403 权限错误?

A:99% 是 Row Level Security (RLS) 配置问题:

  1. 检查表是否开启了 RLS:Supabase Dashboard → Table Editor → 对应表 → 查看 RLS 状态
  2. 如果开启了 RLS,确保有对应的 Policy
  3. 快速调试方法:临时在 Supabase SQL Editor 运行:
-- 查看某个表的 Policy
SELECT * FROM pg_policies WHERE tablename = 'your_table_name';

Q:Supabase 免费计划有什么限制?

A:Supabase 免费计划(2026 年):

限制 额度
数据库容量 500 MB
文件存储 1 GB
月活跃用户 50,000
Edge Functions 调用 500,000 次/月
暂停条件 连续 7 天无活动自动暂停

对于早期验证项目完全够用,正式上线后建议升级到 Pro($25/月)。


Q:怎么在 Lovable 里调用外部 API(比如天气 API、支付 API)?

A:直接描述:

集成 OpenWeatherMap API:
- API key: [你的key,注意:不要把真实 key 写在对话里,
  让 AI 用环境变量,然后你在 Supabase 或部署设置里配置]
- 添加一个天气卡片组件,根据用户地理位置显示当前天气

涉及敏感 API key,正确做法是:

  1. 让 AI 生成使用 import.meta.env.VITE_API_KEY 读取环境变量的代码
  2. 把 key 配置在 Lovable 项目设置的 Environment Variables 里

关于定价和限制

Q:Lovable 免费计划够用吗?

A:免费计划适合:学习、个人项目、验证想法。限制是每月 5 个项目(注意:是项目数量,不是消息数量)。

付费计划(Pro $25/月)增加:

  • 无限项目
  • 自定义域名
  • 更高的 AI 生成速度
  • 优先客服

Lovable 价格方案一览(Free · Pro · Business)


Q:Lovable 生成的代码,我拿去商用有版权问题吗?

A:根据 Lovable 的服务条款,用户完全拥有生成代码的所有权,可以商用、分发、修改。Lovable 不对生成内容主张任何版权。

关于工作流最佳实践

Q:Lovable 和 Cursor 怎么配合使用?

A:推荐工作流:

1. 在 Lovable 快速生成初版(1-2小时)
2. 连接 GitHub,clone 到本地
3. 用 Cursor 做精细修改:
   - 复杂业务逻辑
   - 性能优化
   - 集成测试
4. push 后回 Lovable 继续迭代 UI

两个工具各有优势:Lovable 快(新功能对话即可),Cursor 精(精细代码控制)。


Q:Lovable 适合团队协作吗?

A:目前(2026年)Lovable 的协作功能相对基础:

  • 可以把项目分享给团队成员查看
  • 多人同时编辑同一项目可能导致冲突
  • 推荐做法:一个 Lovable 项目对应一个 GitHub repo,团队通过 GitHub 协作,Lovable 作为"快速修改 UI"的工具

Q:我的项目越来越大,AI 开始出现奇怪的修改,怎么办?

A:这是 Lovable(以及所有 AI 编辑器)的通病:上下文窗口限制导致大项目理解能力下降。解决方案:

  1. 保持项目规模合理:一个 Lovable 项目不要超过 50 个文件
  2. 使用精确指令:指定具体文件名和组件名,不让 AI 猜
  3. 定期整理代码:在本地用 Cursor 重构,保持代码清洁后再回 Lovable
  4. 拆分项目:把复杂系统拆成多个独立的小项目
Author
Share or copy the link
← Previous articleLovable 实战手册:用 AI 对话构建真实应用 — Lovable 进阶技巧:构建真实可用的生产级应用Next article →Lovable 实战手册:用 AI 对话构建真实应用 — Lovable + Supabase 完整集成:auth / database / storage / realtime

Related articles

🇦🇺测一下:袋鼠国码农能当FDE吗?

2026-12-01

Monash 研究:肠道酸度是膳食纤维降血压的关键;AI 搬运新闻冲击维州选举信息;MPAC 公布 2027 演出季

2026-12-01

Adelaide 物理学家获 $250,000 总理科学奖;全球葡萄酒消费六十年降四分之一;残障师范生实习障碍研究

2026-12-01

DVA-C03今日上线首发 · Google Cloud AI Agent认证完整解析 · AZ-401本月GA替代AZ-400

2026-12-01

Anthropic推迟下一代模型并调百人做安全,AWS推出AI办公三件套,Google让用户单独关掉AI训练

2026-12-01

GitHub Copilot 实战指南 — Copilot AI Code Review:30 秒让 AI 帮你审 PR,三档深度随需切换

2026-11-30
View all articles →

Done reading? Next steps

Not sure what to learn next? Tell us where you are

Tell us what you do now and where you want to go. See your gaps in skills, evidence, experience, expression and positioning, and what to work on first. No sign-in needed.

Compare with my situation
  • SkillAI Coding for EveryoneShip real products with Cursor + AI, no coding background needed. The 6-week Foundation track builds 4 deliverables; the 8-week Advanced track adds an Admin CMS, a chatbot and a data dashboard.See the program →
  • PositioningLearning roadmaps by roleFrontend, backend, data, AI and more, laid out stage by stage in the order to learn them.All roadmaps →
  • ExpressionTry an AI mock interviewPick a role and run a mock interview to practise explaining your experience and projects.Practise now →

Not sure what to do next?

Take this page's topic with you and see where your gaps are.

Compare with my situation
JR Academy
AI learning for the global Chinese community
BootcampsFree resourcesLearn AICareer coaching
精选推荐
AI Career Impact Map
Assess career exposure and explore transition paths and learning options
Popular tool
AI & Data Bootcamps
Build your skills through structured courses and hands-on projects
Popular courses
1:1 Career Coaching
Work with an experienced mentor on your resume and interview preparation
Career coaching
Custom Corporate Training
AI training tailored to your team
Business services
Popular tags
Vibe CodingAI codingCursorClaudeJob searchPromptFrontend developmentBackend development
Subscribe to updates

Receive AI learning resources, technical tutorials and career advice by email.

We respect your privacy and do not send spam.