1. #1
    Sencha User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Brazil, Goias, Goiânia
    Posts
    443
    Vote Rating
    8
    wemerson.januario will become famous soon enough

      0  

    Default Css load order afer build

    Css load order afer build


    I have a problem with css load order. In my build app.json manifest file, I have a custom css file that should be loaded after bootstrap.css, but Sencha cmd insist to put it before bootstrap.css while building production

    Code:
    "css": [
            {
            "path": "bootstrap.css",
                    "bootstrap": true
            },
            {
            "path": "resources/css/app.css",
                    "bootstrap": false,
                    "remote" : true
            }
            ],
    In dev mode works ok, but when built, the css load order is inverted, the bootstrap.css is loaded after my custom resources/css/app.css file

    * Sencha CMD 5.0.0.160
    * Windows

    I could see some codes in .sencha/app/Boot.js about loadOrder but did not understant how to solve!



    Please help me!
    Wemerson Januario
    Twitter:
    @wemersonjanuar
    Skype:
    wemerson.januario
    Email: wemerson.januario@gmail.com
    Fone:
    62 9106-6689
    From: Goiânia, Brazil
    Desenvolvedor ExtJS/ ExtJS Developer

  2. #2
    Sencha User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Brazil, Goias, Goiânia
    Posts
    443
    Vote Rating
    8
    wemerson.januario will become famous soon enough

      0  

    Default


    Any help is appreciated. Thanks!
    Wemerson Januario
    Twitter:
    @wemersonjanuar
    Skype:
    wemerson.januario
    Email: wemerson.januario@gmail.com
    Fone:
    62 9106-6689
    From: Goiânia, Brazil
    Desenvolvedor ExtJS/ ExtJS Developer

  3. #3
    Sencha Premium Member
    Join Date
    Jan 2013
    Posts
    28
    Vote Rating
    2
    JasonMO is on a distinguished road

      0  

    Default


    Also having the same problem. Seems pretty fundamental to order CSS files. What's required to do this? CSS resources really should be always loaded after the main app css. Doesn't seem to be the case. Bug?

Thread Participants: 1