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

推荐订阅源

F
Fortinet All Blogs
WordPress大学
WordPress大学
The Cloudflare Blog
云风的 BLOG
云风的 BLOG
博客园 - Franky
D
Docker
小众软件
小众软件
阮一峰的网络日志
阮一峰的网络日志
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Engineering at Meta
Engineering at Meta
MongoDB | Blog
MongoDB | Blog
U
Unit 42
M
MIT News - Artificial intelligence
B
Blog
GbyAI
GbyAI
C
Check Point Blog
P
Proofpoint News Feed
博客园 - 司徒正美
Hugging Face - Blog
Hugging Face - Blog
雷峰网
雷峰网
IT之家
IT之家
Google DeepMind News
Google DeepMind News
V
V2EX
Stack Overflow Blog
Stack Overflow Blog

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.