Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vicmeow/nuxt-sanity
Easily integrate Sanity in your Nuxt.js project.
https://github.com/vicmeow/nuxt-sanity
nuxt nuxt-module sanity sanity-io
Last synced: about 1 month ago
JSON representation
Easily integrate Sanity in your Nuxt.js project.
- Host: GitHub
- URL: https://github.com/vicmeow/nuxt-sanity
- Owner: vicmeow
- License: mit
- Created: 2019-06-04T08:13:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T18:11:01.000Z (almost 2 years ago)
- Last Synced: 2024-10-01T02:27:04.621Z (about 1 month ago)
- Topics: nuxt, nuxt-module, sanity, sanity-io
- Language: JavaScript
- Homepage: https://nuxt-sanity.netlify.com/
- Size: 463 KB
- Stars: 15
- Watchers: 0
- Forks: 0
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# [deprecated] nuxt-sanity
[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Circle CI][circle-ci-src]][circle-ci-href]
[![Codecov][codecov-src]][codecov-href]
[![Dependencies][david-dm-src]][david-dm-href]
[![Standard JS][standard-js-src]][standard-js-href]>
This package is now deprecated and replaced by [@nuxtjs/sanity](https://github.com/nuxt-community/sanity-module#readme)
[📖 **Read documentation**](https://nuxt-sanity.netlify.com/).
## Setup
1. Add the `nuxt-sanity` dependency with `yarn` or `npm` to your project
```js
yarn add nuxt-sanity // or npm install nuxt-sanity
```2. Add `nuxt-sanity` to the `modules` section of `nuxt.config.js`
```js
{
modules: [
'nuxt-sanity'
]
}
```3. Configure the module:
```js
{
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](./LICENSE)
[npm-version-src]: https://img.shields.io/npm/dt/nuxt-sanity.svg?style=flat-square
[npm-version-href]: https://npmjs.com/package/nuxt-sanity[npm-downloads-src]: https://img.shields.io/npm/v/nuxt-sanity/latest.svg?style=flat-square
[npm-downloads-href]: https://npmjs.com/package/nuxt-sanity[circle-ci-src]: https://img.shields.io/circleci/project/github/vicbergquist/nuxt-sanity.svg?style=flat-square
[circle-ci-href]: https://circleci.com/gh/vicbergquist/nuxt-sanity[codecov-src]: https://img.shields.io/codecov/c/github/vicbergquist/nuxt-sanity.svg?style=flat-square
[codecov-href]: https://codecov.io/gh/vicbergquist/nuxt-sanity[david-dm-src]: https://david-dm.org/vicbergquist/nuxt-sanity/status.svg?style=flat-square
[david-dm-href]: https://david-dm.org/vicbergquist/nuxt-sanity[standard-js-src]: https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square
[standard-js-href]: https://standardjs.com