Giter Club home page Giter Club logo

Comments (12)

KevinBatdorf avatar KevinBatdorf commented on August 21, 2024

Hi, what browser/OS?

Here's the code from that error

const styleSheet = document.createElement('style'); 
styleSheet.appendChild(document.createTextNode('.alpine-button-devtools-closed{opacity:1!important}'));
document.head.appendChild(styleSheet);
document.body.appendChild(alpineDevToolsComponent);

Can you also try without the .min? (You can see the line number)

from alpine-inline-devtools.

anatoliy-t7 avatar anatoliy-t7 commented on August 21, 2024
  • Chrome (85), Mac (Catalina)
  • without min. same error
  • and my alpine comes in the bundle (it is ok?)

from alpine-inline-devtools.

KevinBatdorf avatar KevinBatdorf commented on August 21, 2024

I might need to inject the button after the load event. I'll tag a patch in about 5-10 minutes. You can try adding your script to the footer for now to see if that works.

from alpine-inline-devtools.

KevinBatdorf avatar KevinBatdorf commented on August 21, 2024

Can you update it to 0.8.1 and try? Thanks

from alpine-inline-devtools.

anatoliy-t7 avatar anatoliy-t7 commented on August 21, 2024

The button appeared but new error

notyf.es.js:123 Uncaught TypeError: Cannot read property 'appendChild' of null
    at new NotyfView (notyf.es.js:123)
    at new Notyf (notyf.es.js:343)
    at Module../resources/js/app.js (app.js:6)
    at __webpack_require__ (bootstrap:19)
    at Object.0 (app.js:3351)
    at __webpack_require__ (bootstrap:19)
    at bootstrap:83
    at bootstrap:83

from alpine-inline-devtools.

KevinBatdorf avatar KevinBatdorf commented on August 21, 2024

That's from something else. Are you using Vue or React?

from alpine-inline-devtools.

anatoliy-t7 avatar anatoliy-t7 commented on August 21, 2024

Only livewire

from alpine-inline-devtools.

KevinBatdorf avatar KevinBatdorf commented on August 21, 2024

That error is from this library:

https://github.com/caroso1222/notyf

Does it work fine without the DevTools?

from alpine-inline-devtools.

anatoliy-t7 avatar anatoliy-t7 commented on August 21, 2024

Does it work fine without the DevTools?

Yes.

from alpine-inline-devtools.

KevinBatdorf avatar KevinBatdorf commented on August 21, 2024

That plugin might not be compatible then. I'd have to investigate it. It could be trying to inject something into the popup.

Does everything work if you remove that?
If you're not too tied into that script, you could implement the one I wrote: https://codepen.io/KevinBatdorf/pen/QWyQqZb

from alpine-inline-devtools.

anatoliy-t7 avatar anatoliy-t7 commented on August 21, 2024

Without "notyf" everything works fine. And I will try to implement your script.
Thank you.

from alpine-inline-devtools.

KevinBatdorf avatar KevinBatdorf commented on August 21, 2024

Awesome! The project is still new so any more feedback is very appreciated. Can come to the Alpine Discord too.

from alpine-inline-devtools.

Related Issues (2)

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.