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

Unable to locate a class or view for component [cld-upload-button]. #93

Closed
iamgoodbytes opened this issue May 18, 2023 · 7 comments
Closed
Labels
hacktoberfest help wanted Extra attention is needed

Comments

@iamgoodbytes
Copy link

iamgoodbytes commented May 18, 2023

Laravel 10 with latest version of this package running a livewire component that has the following code. (I'm getting the same error when using it in a normal blade file that is not a livewire component)

@cloudinaryJS
<x-cld-upload-button>
            Upload Files
</x-cld-upload-button>

Getting the error Unable to locate a class or view for component [cld-upload-button].

Any idea what could fix this or what the problem might be?

@miteyema
Copy link
Contributor

I had the same problem and I've made a fix, please see #94

@unicodeveloper unicodeveloper added help wanted Extra attention is needed hacktoberfest labels Oct 2, 2023
unicodeveloper added a commit that referenced this issue Oct 11, 2023
Fixes [Issue #93] semantic major version of Laravel
@uhexos
Copy link

uhexos commented Oct 12, 2023

@unicodeveloper I see that PR #94 was merged to fix this issue, this means the documentation is now wrong as the component is called cld_upload_button rather than cld-upload-button

@unicodeveloper
Copy link
Collaborator

unicodeveloper commented Oct 12, 2023

I wouldn’t say the documentation is wrong. The doc is still very much correct because most people don’t even use Laravel 6 anymore. @uhexos

So there’s really no need to update the doc.

Changing the doc will make it wrong for Laravel 7 to 10 users & 99% of them are using this package

@uhexos
Copy link

uhexos commented Oct 12, 2023

Maybe I'm doing something wrong then cause the widget wouldn't load and the Unable to locate a class or view for component [cld-upload-button] persisted in a fresh laravel 10 install when using the x-cld-upload-button as the component name.

image

@unicodeveloper
Copy link
Collaborator

unicodeveloper commented Oct 12, 2023 via email

@uhexos
Copy link

uhexos commented Oct 12, 2023

ahh I see

@brammittendorff
Copy link

Is there already a new release? The last one is from march right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants