Git Product home page Git Product logo

Comments (5)

imanghafoori1 avatar imanghafoori1 commented on May 18, 2024

I do not think that there is anything I can fix.
Because if the package's service provider is not added, laravel not know any thing about the installed package.
It seems that a css file related to debugbar package is served as an text/html file so the browser is confused about that and is not able to parse and apply the proper styles to debugbar's html.

Have you tried debugbar alongside other packges (other than widgetize) ?

from laravel-widgetize.

jordonbaade avatar jordonbaade commented on May 18, 2024

Yeah, not sure. I thought it was a weird one.

The thing is that css file is served as text/html only after requiring your package, without the package it is served as a stylesheet and works. Do you perhaps have some catch all routes, or anything loaded via auto loading that could be doing it?

I use debugbar with every Laravel project. This project has many other packages along with it, I actually had to install debugbar and each package in the project into a temp project one by one to finally find that it was caused by requiring your package.

from laravel-widgetize.

imanghafoori1 avatar imanghafoori1 commented on May 18, 2024
  • Do you perhaps have some catch all routes?

Without adding the service provider, Even if there is a catch all route, it is not able to step in and cause any problem.

I performed the mentioned steps to reproduce the problem.
(installed a fresh copy of laravel 5.4.23
added the composer require barryvdh/laravel-debugbar --dev and etc...)
But everything is working for me.
except I am not using the laravel valet.
I tested it with xampp and php artisan serve

from laravel-widgetize.

jordonbaade avatar jordonbaade commented on May 18, 2024

Weird! Thanks for giving it a go, I'll try to play around with it and valet to see if I can fix it.

from laravel-widgetize.

imanghafoori1 avatar imanghafoori1 commented on May 18, 2024

Anyway I am currently using debugbar and widgetize together on my own project with laravel 5.1 and have no problem.
I wish you enjoy my package.

from laravel-widgetize.

Related Issues (19)

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.