匠人学院 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 核心功能详解:从对话到生产级应用
JR Academy · BlogCareer insights

Lovable 实战手册:用 AI 对话构建真实应用 — Lovable 核心功能详解:从对话到生产级应用

深入理解 Lovable 的六大核心功能:AI 代码生成、实时预览、版本控制、Supabase 集成、部署和 GitHub 同步

Published2026-11-30
Reading time2 min
Author

Contents

  • 功能一:AI 代码生成引擎
  • 功能二:实时预览与可视化编辑
  • 功能三:版本历史与回滚
  • 功能四:Supabase 原生集成
  • 功能五:一键部署
  • 功能六:GitHub 双向同步

Lovable 不只是一个"帮你写代码"的工具,它构建了一套从想法到上线的完整工作流。理解它的核心功能,才能发挥它的全部潜力。

Lovable core features overview

功能一:AI 代码生成引擎

Lovable 底层使用多个顶级 AI 模型(包括 Claude 系列),生成的代码技术栈固定为:

  • 前端:React 18 + TypeScript + Vite
  • 样式:Tailwind CSS + shadcn/ui 组件库
  • 状态管理:React Query(服务端状态)+ React hooks(本地状态)
  • 后端(可选):Supabase(PostgreSQL 数据库 + Auth + Storage)

这个技术栈选择是有意为之:React + TypeScript + Tailwind 是 2025-2026 年最主流的 Web 开发组合,生成的代码质量高、可维护性强。

代码示例:当你说"添加一个带验证的登录表单",Lovable 生成的代码大致是:

// 使用 shadcn/ui 的 Form 组件 + react-hook-form + zod 验证
import { useForm } from "react-hook-form"
import { zodResolver } from "@hookform/resolvers/zod"
import * as z from "zod"
import { Button } from "@/components/ui/button"
import { Input } from "@/components/ui/input"

const loginSchema = z.object({
  email: z.string().email("请输入有效的邮箱地址"),
  password: z.string().min(8, "密码至少 8 位"),
})

export function LoginForm() {
  const form = useForm({
    resolver: zodResolver(loginSchema),
  })

  return (
    <Form {...form}>
      <form onSubmit={form.handleSubmit(onSubmit)} className="space-y-4">
        <FormField
          control={form.control}
          name="email"
          render={({ field }) => (
            <FormItem>
              <FormLabel>邮箱</FormLabel>
              <FormControl>
                <Input placeholder="you@example.com" {...field} />
              </FormControl>
              <FormMessage />
            </FormItem>
          )}
        />
        {/* password field... */}
        <Button type="submit" className="w-full">登录</Button>
      </form>
    </Form>
  )
}

这是地道的生产级 React 代码,不是玩具。

功能二:实时预览与可视化编辑

Lovable 的右侧预览不只是静态截图,它是一个真实运行的应用实例:

  • 可以点击按钮、填写表单、触发交互
  • 响应式预览:可以切换手机/平板/桌面视图
  • Select mode:点击预览里的任何元素,AI 会自动定位到对应代码并告诉你可以怎么修改

这个功能让非技术用户可以用"点击"代替"描述位置":

# 与其说
把右上角第三个按钮的颜色改成红色

# 不如直接点击那个按钮,然后说
把这个按钮改成红色

功能三:版本历史与回滚

每次对话修改都是一个 Git commit,Lovable 提供可视化的版本历史:

  • 右上角时钟图标 → 打开版本历史
  • 每个版本显示:时间戳、对应的 prompt 摘要、代码变更文件列表
  • 一键回滚到任意历史版本

实际使用场景:

你改了 UI,结果越改越乱 → 回滚到 3 个版本前
你误删了一个功能 → 查看历史找到删除前的版本 → 回滚

这本质上就是 Git,只是 Lovable 给它套了一个对话界面。

功能四:Supabase 原生集成

这是 Lovable 最强的差异化功能。Supabase 是一个开源的 Firebase 替代品,提供:

  • PostgreSQL 数据库:真实的关系型数据库
  • Auth:用户认证(邮箱/密码、Google OAuth、GitHub OAuth)
  • Storage:文件存储(图片、PDF 等)
  • Edge Functions:服务端逻辑

在 Lovable 里连接 Supabase 只需要三步:

Step 1:在 supabase.com 免费创建项目,获取 API URL 和 anon key

Step 2:在 Lovable 项目右上角点击 Supabase 图标,粘贴连接信息

Step 3:直接在对话里描述你的数据需求:

帮我创建一个 todos 表,字段:
- id (uuid, primary key)
- user_id (uuid, 关联 auth.users)
- title (text, not null)
- completed (boolean, default false)
- created_at (timestamp, default now())

然后更新应用,把本地的 todo 存储改成读写这个数据库

Lovable 会自动生成 Supabase 的 SQL migration 和前端的数据库操作代码。

功能五:一键部署

Lovable 自带托管服务,一键部署无需任何配置:

  1. 点击右上角 Publish 按钮
  2. 等待 30 秒左右
  3. 得到一个 https://xxx.lovable.app 的 URL

生产级部署注意事项:

  • 免费计划使用 Lovable 子域名(xxx.lovable.app)
  • Pro 计划支持绑定自定义域名
  • 应用运行在全球 CDN,访问速度快
  • HTTPS 自动配置

如果你想部署到自己的服务器,也可以:

# clone 下来后自行部署
git clone https://github.com/your-username/your-project.git
cd your-project
npm install
npm run build

# dist/ 目录里就是静态文件,可以部署到任何静态托管
# 如 Vercel、Netlify、Cloudflare Pages

功能六:GitHub 双向同步

连接 GitHub 后,Lovable 和本地开发形成完美互补:

Lovable(快速迭代 UI)
        ↕ GitHub
本地编辑器(精细代码调整)

工作流示例:

# 1. 在 Lovable 里用对话生成初版 UI
# 2. clone 到本地
git clone https://github.com/your-username/project.git

# 3. 本地做精细调整(比如复杂的业务逻辑)
# 编辑文件...
git add . && git commit -m "add complex sorting logic"
git push

# 4. 回到 Lovable,继续用对话改 UI
# Lovable 会自动 pull 你的本地更改

注意:本地 push 的更改会同步到 Lovable,但 Lovable 的 AI 不会理解本地代码的语义——它只能基于当前代码状态继续生成,不会"记住"你的本地更改意图。

Author
Share or copy the link
← Previous articleLovable 实战手册:用 AI 对话构建真实应用 — Lovable 快速上手:5 分钟创建你的第一个 AI 应用Next article →Lovable 实战手册:用 AI 对话构建真实应用 — Lovable 进阶技巧:构建真实可用的生产级应用

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.