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

Does not work with Nova 3.0 #36

Closed
rreynier opened this issue May 13, 2020 · 2 comments
Closed

Does not work with Nova 3.0 #36

rreynier opened this issue May 13, 2020 · 2 comments

Comments

@rreynier
Copy link

Adding AdvancedImage::make('Photo') to my Nova resource does not work. When editing, the field is not shown. There are no errors which makes this really hard to debug. I presume this is a Nova 3.0 compatibility issue.

@rreynier
Copy link
Author

rreynier commented May 13, 2020

Did a bit more digging and built nova js in dev mode. This yielded the following error:

[Vue warn]: Unknown custom element: <form-advanced-image-field> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <FormPanel> at resources/js/components/Form/Panel.vue
       <LoadingView> at resources/js/components/LoadingView.vue
         <Update> at resources/js/views/Update.vue
           <Root>

@rreynier
Copy link
Author

Welp, the problem wasn't the Nova version, rather... I hadn't run php artisan package:discover... wooops.

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

No branches or pull requests

1 participant