惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
Netflix TechBlog - Medium
Blog — PlanetScale
Blog — PlanetScale
Google DeepMind News
Google DeepMind News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
F
Fortinet All Blogs
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Stack Overflow Blog
Stack Overflow Blog
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
L
LangChain Blog
Microsoft Security Blog
Microsoft Security Blog
Apple Machine Learning Research
Apple Machine Learning Research
Y
Y Combinator Blog
阮一峰的网络日志
阮一峰的网络日志
博客园_首页
IT之家
IT之家
V
V2EX
C
Check Point Blog
MongoDB | Blog
MongoDB | Blog
Last Week in AI
Last Week in AI
B
Blog
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏
雷峰网
雷峰网

Vercel News

Vercel Open Source Program: Winter 2026 cohort How Notion Workers run untrusted code at scale with Vercel Sandbox How we run Vercel's CDN in front of Discourse From idea to secure checkout in minutes with Stripe Building Slack agents can be easy Scaling redirects to infinity on Vercel Advancing Python typing Gamma builds design-first agents with Vercel How Avalara turns pipe dreams into patent-pending with v0 Keeping community human while scaling with agents How OpenEvidence built a healthcare AI that physicians actually trust Security boundaries in agentic architectures Skills Night: 69,000+ ways agents are getting smarter Video Generation with AI Gateway We Ralph Wiggumed WebStreams to make them 10x faster How Stably ships AI testing agents in hours, not weeks How we built AEO tracking for coding agents Anyone can build agents, but it takes a platform to run them Introducing Geist Pixel The Vercel AI Accelerator is back with $6m in credits Making agent-friendly pages with content negotiation The Vercel OSS Bug Bounty program is now available Introducing the new v0 Run untrusted code with Vercel Sandbox, now generally available How Stripe built a game-changing app in a single flight with v0 How Sensay went from zero to product in six weeks AGENTS.md outperforms skills in our agent evals Agent skills explained: An FAQ Testing if "bash is all you need" AWS databases are now live on the Vercel Marketplace and v0
Sanity is now available on the Vercel Marketplace - Vercel
Marketplace Team · 2026-02-06 · via Vercel News

Sanity is now available on the Vercel Marketplace as a native CMS integration. Teams can now install, configure, and manage Sanity directly from the Vercel dashboard, eliminating manual API token setup and environment variable configuration.

This integration keeps CMS setup inside your existing Vercel workflow instead of requiring a separate dashboard for provisioning and account management.

Link to headingGet started with the integration

Define your content schema, set up the client, and start fetching content. Schemas define your content structure in code, specifying document types and their fields.

src/sanity/schemaTypes/postType.ts

import { defineField, defineType } from "sanity";

export const postType = defineType({

name: "post",

title: "Post",

type: "document",

fields: [

defineField({ name: "title", type: "string" }),

defineField({ name: "slug", type: "slug", options: { source: "title" } }),

defineField({ name: "body", type: "array", of: [{ type: "block" }] }),

],

});

Define a post document type with title, slug, and rich text body fields

Register your schema types in an index file so Sanity can load them.

src/sanity/schemaTypes/index.ts

import { postType } from "./postType";

export const schemaTypes = [postType];

Export all schema types for Sanity Studio to use

The Sanity client connects your application to your content. The Marketplace integration provisions the project ID as an environment variable automatically.

import { createClient } from "next-sanity";

export const client = createClient({

projectId: process.env.NEXT_PUBLIC_SANITY_PROJECT_ID,

dataset: "production",

apiVersion: "2024-01-01",

useCdn: false,

});

Create a reusable client configured with your project's environment variables

With the client configured, you can fetch content using GROQ (Graph-Relational Object Queries), Sanity's query language for requesting exactly the fields you need.

import { client } from "@/sanity/lib/client";

const POSTS_QUERY = `*[_type == "post"] | order(publishedAt desc)[0...12]{

_id, title, slug, publishedAt

}`;

export default async function HomePage() {

const posts = await client.fetch(POSTS_QUERY);

return (

<ul>

{posts.map((post) => (

<li key={post._id}>{post.title}</li>

))}

</ul>

);

}

Fetch the 12 most recent posts and render them as a list

That's all you need to go from install to fetching content. Install Sanity from the Vercel Marketplace to get started, or deploy the Next.js + Sanity Personal Website template to start from a working example.