@aadgrant/sanity 中文文档教程

发布于 3 年前 浏览 29 项目主页 更新于 2 年前

@nuxtjs/sanity

npm 版本 npm 下载”></a> 
  <a href=Github Actions CICodecov License

Sanity 集成 NuxtJS

Features

  • Just bring your sanity.json - no additional configuration required
  • Ultra-lightweight Sanity client
  • Zero-config image component
  • Supports GROQ syntax highlighting
  • Full support for TypeScript

 阅读更多

Quick setup

  1. Add @nuxtjs/sanity dependency to your project
yarn add @nuxtjs/sanity # or npm install @nuxtjs/sanity
  1. Add @nuxtjs/sanity/module to the buildModules section of nuxt.config.js
{
  buildModules: [
    '@nuxtjs/sanity/module',
  ],
  sanity: {
    // module options
  }
}

Development

  1. Clone this repository
  2. Install dependencies using yarn install
  3. Start development server using yarn dev

License

MIT 许可证

@nuxtjs/sanity

npm versionnpm downloadsGithub Actions CICodecovLicense

Sanity integration for NuxtJS

Features

  • Just bring your sanity.json - no additional configuration required
  • Ultra-lightweight Sanity client
  • Zero-config image component
  • Supports GROQ syntax highlighting
  • Full support for TypeScript

????  Read more

Quick setup

  1. Add @nuxtjs/sanity dependency to your project
yarn add @nuxtjs/sanity # or npm install @nuxtjs/sanity
  1. Add @nuxtjs/sanity/module to the buildModules section of nuxt.config.js
{
  buildModules: [
    '@nuxtjs/sanity/module',
  ],
  sanity: {
    // module options
  }
}

Development

  1. Clone this repository
  2. Install dependencies using yarn install
  3. Start development server using yarn dev

License

MIT License

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文