Hi. I'm using a fresh NextJS 13.2.1 with Tailwind and integrated the Sanity Studio V3 in /pages directory. They're working fine. I installed this plugin but it's getting Global CSS cannot be imported from within node_modules error.
import { deskTool } from 'sanity/desk';
import { visionTool } from '@sanity/vision';
import { codeInput } from '@sanity/code-input';
import { latexInput } from 'sanity-plugin-latex-input';
import { schemaTypes } from '@/schemas/index';
export const projectId = process.env.NEXT_PUBLIC_SANITY_PROJECT_ID!;
export const dataset = process.env.NEXT_PUBLIC_SANITY_DATASET!;
export default defineConfig({
basePath: '/studio',
projectId,
dataset,
plugins: [deskTool(), visionTool(), codeInput(), latexInput()],
schema: {
types: schemaTypes,
},
});