Coder Social home page Coder Social logo

Comments (2)

mikebarlow avatar mikebarlow commented on August 28, 2024

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.

Boomchart avatar Boomchart commented on August 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.