Open Zylvian opened 2 years ago
After running ´npx sanity-codegen´.
@sanity/base is listed in the package file.
import { SanityCodegenConfig } from 'sanity-codegen'; const config: SanityCodegenConfig = { schemaPath: './schemas/schema.js', outputPath: './convertedman.js', }; export default config;
Npx is run from the /sanity/ folder in the project.
After running ´npx sanity-codegen´.
@sanity/base is listed in the package file.
Npx is run from the /sanity/ folder in the project.