No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. andrewl94
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Best 1
    • Groups 0

    andrewl94

    @andrewl94

    1
    Reputation
    22
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    andrewl94 Follow

    Best posts made by andrewl94

    • How to Disable Stylus

      Hello guys, there is any way to disable the styl css files?
      I’ve already removed the ‘app.styl’ from quasar.conf.js but the ‘quasar.mat.styl’ is still being included when the pages loads.
      There is no description how to do it on the documentation and I feel like the usage of such thing as Stylus should be optional and easily enabled and disabled from quasar.conf.js.

      posted in CLI
      A
      andrewl94

    Latest posts made by andrewl94

    • RE: How to Disable Stylus

      Yea, but I have the need to override styles that I did not needed there on the first place.

      posted in CLI
      A
      andrewl94
    • RE: How to Disable Stylus

      But the default stylus for mat/ios will still be applied, right?
      I dont know if I was clear, but the main problem i’m facing is that the current css for mat/ios is messing with my own css, and since the stylus has priority when the page is loaded, I had 2 options:

      1 - The ugly one: The script above
      2 - The time unecessary time consuming : rewrite the css on stylus and making adaptations because of the default stylus

      I was searching for a 3rd one: disabling the insertion of this style i removed with option 1

      posted in CLI
      A
      andrewl94
    • RE: How to Disable Stylus

      This is my current code to remove the insertion of the style from stylus mat/ios (and is atrocious the need of this kind of script to do that imo):

      <script type=“text/javascript”>
      window.onload = function(){
      var tag = document.getElementsByTagName(“style”);
      var searchText = “Edit /src/css/themes instead”;
      for (var i = 0; i < tag.length; i++) {
      if (tag[i].innerHTML.indexOf(searchText) !== -1) {
      tag[i].remove()
      break;
      }
      }
      }
      </script>

      posted in CLI
      A
      andrewl94
    • RE: How to Disable Stylus

      Welp, I still had not found a good way to disable it.

      Anyone has any clue how to do it?

      posted in CLI
      A
      andrewl94
    • How to Disable Stylus

      Hello guys, there is any way to disable the styl css files?
      I’ve already removed the ‘app.styl’ from quasar.conf.js but the ‘quasar.mat.styl’ is still being included when the pages loads.
      There is no description how to do it on the documentation and I feel like the usage of such thing as Stylus should be optional and easily enabled and disabled from quasar.conf.js.

      posted in CLI
      A
      andrewl94