匠人学院 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. v0 实战指南:AI 驱动的全栈应用构建 — 注册到第一个项目上线
JR Academy · BlogCareer insights

v0 实战指南:AI 驱动的全栈应用构建 — 注册到第一个项目上线

10 分钟完成 v0 注册、创建第一个应用、部署到线上

Published2026-11-30
Reading time2 min
Author

Contents

  • 注册
  • 注册流程长什么样
  • 界面长什么样
  • 创建第一个项目
  • 第一个 React 组件实战
  • 迭代修改
  • 部署上线
  • 与 GitHub + Vercel 联动

注册

v0 注册不要钱,不要信用卡。打开 v0.app,用以下任一方式登录:

  • GitHub 账号(推荐,后面 Git 集成方便)
  • Google 账号
  • 邮箱
  • 已有的 Vercel 账号

登录后自动获得每月 $5 免费额度,够跑完这个教程。

注册流程长什么样

点击 "Continue with GitHub" 后,浏览器跳转到 GitHub OAuth 授权页,v0 只申请读取账号基本信息和邮箱,不会要求 repo 写权限(那是后面 Git 集成才需要的)。点 "Authorize" 后秒跳回 v0 主界面,没有额外表单。

首次进入会看到空白对话框和几张示例卡片——"Build a SaaS dashboard"、"Create a landing page",点一下直接开跑,或者清空自己输入。左侧侧边栏是历史对话列表,右上角实时显示剩余 credits 余额。v0 账号就是 Vercel 账号,两边共用一套身份,不用分别管理。

界面长什么样

v0 聊天界面

v0 的界面是典型的 AI 对话 + 实时预览布局:

区域 功能
左侧聊天区 输入描述、迭代需求
右侧 Preview 标签 实时预览生成的应用
右侧 Code 标签 VS Code 风格编辑器,逐文件查看代码
顶部栏 项目名称、Deploy 按钮、Git 面板
侧边栏 环境变量(Vars)、模板、MCP 集成

创建第一个项目

点击聊天区的 "+" 或直接输入描述。试试这个:

创建一个个人作品集网站,包含:
- 顶部导航栏(首页、项目、关于我、联系方式)
- Hero 区域带我的名字和一句话介绍
- 项目卡片网格,每个卡片有标题、描述、截图、链接
- 底部联系表单
- 暗色主题
- 响应式布局,手机端自动适配

v0 会花 10-30 秒生成完整的 Next.js 应用。右侧 Preview 直接能看效果,Code 标签能看到生成的文件结构:

app/
  layout.tsx        # 全局布局
  page.tsx          # 首页
components/
  ui/               # shadcn/ui 组件
  navbar.tsx        # 导航栏
  hero.tsx          # Hero 区域
  project-card.tsx  # 项目卡片
  contact-form.tsx  # 联系表单
lib/
  utils.ts          # 工具函数

第一个 React 组件实战

光看 UI 不够——来动手做一个真实能用的组件。在聊天框输入:

写一个 PriceCard React 组件,接受 props:
- title(字符串)
- price(数字)
- currency(字符串,默认"AUD")
- features(字符串数组)
- highlighted(boolean,高亮时用不同边框颜色)
用 TypeScript + Tailwind CSS。

v0 生成的结果大概长这样:

interface PriceCardProps {
  title: string
  price: number
  currency?: string
  features: string[]
  highlighted?: boolean
}

export function PriceCard({
  title,
  price,
  currency = "AUD",
  features,
  highlighted = false,
}: PriceCardProps) {
  return (
    <div
      className={`rounded-2xl border p-6 flex flex-col gap-4 ${
        highlighted
          ? "border-indigo-500 shadow-lg shadow-indigo-500/20"
          : "border-zinc-700"
      }`}
    >
      <h3 className="text-xl font-semibold">{title}</h3>
      <p className="text-4xl font-bold">
        {currency} {price}
        <span className="text-sm font-normal text-zinc-400">/月</span>
      </p>
      <ul className="flex flex-col gap-2 text-sm text-zinc-300">
        {features.map((f) => (
          <li key={f} className="flex items-center gap-2">
            <span className="text-green-400">✓</span> {f}
          </li>
        ))}
      </ul>
    </div>
  )
}

几个值得注意的地方:

  • 可选 prop 的默认值:currency? 和 highlighted? 带问号代表可选,在解构时直接写 = "AUD" 和 = false 设默认值,调用时不传也不报错。
  • 条件 className:用模板字符串拼 Tailwind class 是 shadcn/ui 生态的惯用写法,cn() 工具函数(clsx + tailwind-merge)能做得更干净,v0 生成复杂组件时通常会自动引入。
  • key prop:features.map 里 key={f} 是 React 列表渲染必填,v0 不会漏掉。

继续迭代:

highlight 状态改成顶部有渐变色条,而不是边框

v0 会在 Code 标签里高亮改动行,类似 GitHub diff 视图,只改了哪几行一目了然,不用通读整个组件。

迭代修改

不满意?直接在聊天里说:

  • "把 Hero 区域的背景换成渐变色"
  • "项目卡片加上悬浮放大效果"
  • "导航栏改成固定在顶部"

每次修改 v0 都会生成新版本,所有历史版本都保存着,随时回滚。

还有个省钱技巧:切换到 Design Mode,直接点击页面上的元素修改颜色、字体、间距、文字——这些操作不消耗额度。只有 AI 生成才扣 credits。

部署上线

满意了?点右上角 Deploy 按钮:

  1. v0 自动创建 Vercel 项目(名称前缀 v0-)
  2. 几秒钟后给你一个 xxx.vercel.app 的线上地址
  3. 自带 SSL 证书、全球 CDN、Serverless Functions
  4. 后续修改再点 Deploy 就更新同一个项目

如果需要自定义域名,部署后在 v0 界面直接配置就行。

与 GitHub + Vercel 联动

一次性演示用 Deploy 按钮就够了。如果要正经维护项目,v0 内建的 Git 工作流更合适:

第一步:连接 GitHub 仓库。 在 v0 顶部找到 Git 面板,点 "Connect to GitHub",授权时需要允许仓库写权限(这里和注册时不同)。授权后选择要推送的仓库,可以新建空仓库或连已有的 repo。

第二步:每轮对话对应一个分支。 连上 GitHub 后,v0 顶部会出现 "Create Branch" 按钮。点击后把当前这轮对话的所有改动推到一个独立分支,比如 v0/feat-price-card。这样不同功能的改动互不干扰。

第三步:PR → 预览 → 合并发布。 在 GitHub 里对 main 开 PR,Vercel 自动为这个 PR 生成预览链接——每次 push 都刷新预览。确认没问题了 merge 进 main,Vercel 触发正式部署,xxx.vercel.app 自动更新,全程不用手动操作。

环境变量同步。 如果应用需要 API key 或数据库连接串,在 v0 侧边栏 "Vars" 标签里填,部署时自动同步到 Vercel Environment Variables,不用单独登录 Vercel 控制台操作。

这套流程和普通前端团队用 GitHub + Vercel CI/CD 的方式完全一致,v0 只是把手写代码的环节替换掉了。

到这一步,你已经从零到上线了一个网站,全程没写一行代码。

Author
Share or copy the link
← Previous articlev0 实战指南:AI 驱动的全栈应用构建 — v0 是什么:Vercel 出品的 AI 全栈构建器Next article →v0 实战指南:AI 驱动的全栈应用构建 — 核心功能详解

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.