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

Improve Nova integration #3543

Merged
merged 1 commit into from
Apr 19, 2021
Merged

Improve Nova integration #3543

merged 1 commit into from
Apr 19, 2021

Conversation

jasonvarga
Copy link
Member

It's possible to use Nova with Statamic already - you can see how here: https://statamic.dev/knowledge-base/laravel-nova

This PR makes the integration just a little nicer, reducing those steps from 5 to 3.

statamic/ideas#238

@duncanmcclean
Copy link
Member

Does this change mean it would no longer be required to turn off Statamic's default routing? You'd just be able to leave it turned on?

If so, major thanks! 🤝

@jasonvarga
Copy link
Member Author

Yeah exactly.

@duncanmcclean
Copy link
Member

Yeah exactly.

Sweet! That'll save pain on new projects.

@jasonvarga
Copy link
Member Author

With this regex, if you have a page like /nova-scotia and Nova installed, it won't work.

I can add a / to the end of the regex, which fixes it, but then /nova doesn't work. (/nova/* would though)

@jasonvarga jasonvarga merged commit a9ff5a0 into 3.1 Apr 19, 2021
@jasonvarga jasonvarga deleted the feature/nova branch April 19, 2021 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants