1. #1
    Sencha User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Brazil, Goiânia
    Posts
    472
    Vote Rating
    12
    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:
    @januariocoder
    Email: wemerson.januario@gmail.com

    From: Goiânia, Brazil
    Ext JS Developer

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

      0  

    Default


    Any help is appreciated. Thanks!
    Wemerson Januario
    Twitter:
    @januariocoder
    Email: wemerson.januario@gmail.com

    From: Goiânia, Brazil
    Ext JS Developer

  3. #3
    Sencha Premium Member
    Join Date
    Jan 2013
    Posts
    38
    Vote Rating
    3
    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?

  4. #4
    Sencha Premium Member
    Join Date
    Jun 2014
    Posts
    1
    Vote Rating
    0
    MarkusSchneider is on a distinguished road

      0  

    Default


    Hi,

    I am having the exact same issue. Any solution for you already available?

    Thanks,
    Markus

  5. #5
    Sencha User
    Join Date
    Jan 2015
    Posts
    1
    Vote Rating
    0
    jasonclarkww12 is on a distinguished road

      0  

    Default According to me

    According to me


    I am having the same issue; unable to generate new app regardless of app name or directory location with this long format: Will always fail, you are not giving it a path to create your app. You wouldn't need the -sdk flag to point to the extjs directory because you are in it but the path of where to create your app is still required.

    AaDi
    AaDi