Edge Developer Platform
  • Pages
    • Product Introduction
    • Quick Start
      • Importing a Git Repository
      • Starting From a Template
      • Direct Upload
    • Framework Guide
    • Project Guide
      • Project Management
      • edgeone.json
      • Error Codes
    • Build Guide
    • Deployment Guide
      • Overview
      • Create Deploys
      • Manage Deploys
      • Deploy Button
    • Domain Management
      • Overview
      • Custom Domain Name
      • Configuring an HTTPS Certificate
      • How to Configure a DNS CNAME Record
    • Pages Functions
    • KV Storage
    • Edge AI
    • EdgeOne CLI
    • Pages MCP
    • Best Practices
      • 1-Minute Quick Deployment + Free Beta Test in Progress | Your Exclusive DeepSeek, Handled by EdgeOne!
      • Deploy WordPress Gatsby To EdgeOne Pages
      • Build an Ecommerce Platform Using WordPress + GatsbyJS
      • Combining Sanity to Deploy a Portfolio Template
    • Migration Guides
      • Migrating from Vercel to EdgeOne Pages
      • Migrating from Cloudflare Pages to EdgeOne Pages
      • Migrating from Netlify to EdgeOne Pages
    • FAQs
    • Contact Us
    • Release Notes
Unlock 1 Year of EdgeOne + 1TB CDN: Join Our Developer Journey
Get Started Now !

Combining Sanity to Deploy a Portfolio Template

Description

Sanity is an open-source content management system for React. This article introduces how to deploy a high-performance portfolio based on Next.js and Sanity, based on a simple portfolio template.


Sanity Configuration

Register a sanity account and create a space.

Create local Stdio according to official guidance:
// Create a project
npm create sanity@latest -- --project ${your space id} --dataset production --template clean --typescript --output-path studio-portfolio
cd studio-portfolio
// Local dev
npm run dev

Copy the content of postType.ts Under the project and start up the development service for preview.

In the Post data structure, create your own content.


Deployment Template

Enter the Template Deployment Page: Simple Portfolio Template
Fill in the Space ID and dataset created previously.


Click deploy and wait until finish.