Can not install Sanity with Nuxt3
See original GitHub issueI am very new to Sanity and Nuxt. I tried to set it up but get problems shown below. I followed https://sanity.nuxtjs.org/getting-started/quick-start
Here are my deps.
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"autoprefixer": "^10.4.2",
"eslint": "^8.7.0",
"nuxt3": "latest",
"postcss": "^8.4.5",
"prettier": "^2.5.1",
"prettier-plugin-tailwindcss": "^0.1.4"
},
"dependencies": {
"@nuxtjs/composition-api": "^0.31.0",
"@nuxtjs/sanity": "^1.1.1",
"@nuxtjs/tailwindcss": "5.0.0-2",
"@pinia/nuxt": "^0.1.8",
"eslint-plugin-nuxt": "^3.1.0",
"pinia": "^2.0.9",
"sass": "^1.49.0"
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Top Results From Across the Web
Connect your content to Nuxt - Sanity.io
Since your content is ultimately just data available through APIs, there's practically no limit to where you can put it! It doesn't even ......
Read more >Get started with Sanity and Nuxt3 - GitHub
It is used in the Getting started with Sanity guide. Set up. To set up this project locally, you will need to have...
Read more >@nuxtjs/sanity - npm
Start using @nuxtjs/sanity in your project by running `npm i @nuxtjs/sanity`. There are no other projects in the npm registry using ...
Read more >Get Started · Nuxt Sanity
Nuxt Sanity. Access text, images, and other media with Nuxt and the Sanity headless CMS. Just bring your sanity.json - no additional configuration...
Read more >Building with Sanity and Nuxt - YouTube
In the previous lesson, we set up this Nuxt.js application to interface with our Sanity project.What we want to do in this lesson...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Don’t hesitate to get back in touch if there’s any way I can help.
(You may just need to upgrade nuxt - run
npx nuxi upgrade
…)Here’s a working example: https://stackblitz.com/edit/github-dz5ugi.
It’s not the cause of your problem, but there’s no need to add
@pinia/nuxt
to your types in your tsconfig.