Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prismic sm --setup throw error for missing nuxt.config.js even though nuxt.config.ts exists. #130

Open
eveningforgery opened this issue Oct 13, 2021 · 2 comments
Labels

Comments

@eveningforgery
Copy link

eveningforgery commented Oct 13, 2021

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
@lihbr lihbr added the bug label Oct 21, 2021
@lihbr
Copy link
Member

lihbr commented Oct 21, 2021

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?

@MarcMcIntosh
Copy link
Contributor

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants