Comments (2)
Hey,
I've just tested a fresh copy of Megaphone on a fresh Laravel installation and I've not received the error. Given the nature of the error you've received and the problem/solutions mentioned on that Livewire docs page, I don't think the error lies with Megaphone.
Have you made any modifications to the published megaphone views at all?
Alternatively, are you trying to add Megaphone into another Livewire component? If so the problem could be with that component and not Megaphone itself.
That link you posted is pretty clear with the solution to the fix so it would be worth looking in the root megaphone view (resources/views/vendor/megaphone/megaphone.blade.php
) in case you made any changes to that and the root view for any other Livewire Components you have created.
from megaphone.
Even after deleting the published assets error still persisted, the solution was adding <div><livewire:megaphone></livewire:megaphone></div>
not just <livewire:megaphone></livewire:megaphone>
from megaphone.
Related Issues (15)
- Clear notifications console command doesn't load in custom types HOT 1
- Cannot use ::class with dynamic class name HOT 3
- Add a Listener to refresh component with pusher events (websockets) HOT 8
- Marking unread notification HOT 2
- Admin component needs to merge in types HOT 1
- public $user : data of object and related objects visible for user HOT 9
- UI modifications. HOT 3
- Livewire 3 HOT 5
- Anonymous User Notifications HOT 4
- Route HOT 1
- Improve the mark as read UX
- Fix readme line for megaphone css
- Add note regarding Alpine JS include
- Add link to example demo
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from megaphone.