mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
Ported sanity studio to Next js app
This commit is contained in:
8
app/(studio)/studio/[[...index]]/page.tsx
Normal file
8
app/(studio)/studio/[[...index]]/page.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
'use client';
|
||||
|
||||
import { NextStudio } from 'next-sanity/studio';
|
||||
import config from '@/sanity.config';
|
||||
|
||||
export default function AdminPage() {
|
||||
return <NextStudio config={config} />;
|
||||
}
|
Reference in New Issue
Block a user