This package has been deprecated

Author message:

This package has been replaced by @nuxtjs/sanity https://www.npmjs.com/package/@nuxtjs/sanity

nuxt-sanity

0.0.8 • Public • Published

nuxt-sanity

npm version npm downloads Circle CI Codecov Dependencies Standard JS

📖 Read documentation

Setup

  1. Add the nuxt-sanity dependency with yarn or npm to your project
yarn add nuxt-sanity // or npm install nuxt-sanity
  1. Add nuxt-sanity to the modules section of nuxt.config.js
{
  modules: [
    'nuxt-sanity'
  ]
}
  1. Configure the module:
{
  modules: [
    // Simple usage
    'nuxt-sanity',
 
    // With inline options
    ['nuxt-sanity', { /* module options */ }]
  ],
  // Or a Sanity object
  sanity: {
    projectId: '', // string, required
    dataset: '', // string, required
    token: '', // string, optional
    useCdn: false // boolean, optional, default is false
  }
}

Development

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

License

MIT License

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i nuxt-sanity

Weekly Downloads

9

Version

0.0.8

License

MIT

Unpacked Size

6.86 kB

Total Files

6

Last publish

Collaborators

  • vicbergquist