prismic-cli
prismic-cli copied to clipboard
`prismic sm --setup` throw error for missing `nuxt.config.js` even though `nuxt.config.ts` exists.
nuxt-bridge now supports and recommends typescript for their config file but prismic cli doesn't detect it.
prismic sm --existing-repo --setup
? Name your prismic repository: https://repo-name.prismic.io
? Which framework to use nuxt
Error: /Users/usr/Documents/Github/project/nuxt.config.js doesn't exist
Hey @eveningforgery, thanks for bringing that to our attention!
We expect things to break with the new Nuxt bridge, but if that's only that we should be able to handle it 👌
@MarcMcIntosh can you handle that?
@eveningforgery @lihbr I'll see about getting this added to my todo list :) Hopefully it's just a case of searching for extra file and running the same function to modify the config. Do we have a demo project to test this on?