1. #1
    Sencha Premium Member
    Join Date
    Dec 2012
    Posts
    4
    Vote Rating
    0
    rbiedermaa is on a distinguished road

      0  

    Question Missing local css and js resources in build version

    Missing local css and js resources in build version


    Hi together

    I use local css and js resource file.
    In Preview it looks fine.
    But when I build and install it on mobile, looks like resource will not be loaded.
    Style and function doesn't work.


    Folder structure:
    index.html
    \resources
    \css
    machine.css
    \js
    \OpenLayers-2.12
    OpenLayers.mobile.js


    Resoucre declaration in Architect:
    ./resources/css/machine.css
    ./resources/js/OpenLayers-2.12/OpenLayers.mobile.js


    What do I wrong?


    I don't know, it is a Architecht or Touch problem.

  2. #2
    Sencha - Architect Dev Team Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Baltimore, MD
    Posts
    1,333
    Vote Rating
    36
    Phil.Strong has a spectacular aura about Phil.Strong has a spectacular aura about

      1  

    Default


    Be sure that you're updating the index.html file to include these files. Architect 2.2 will take care of this for you but until then you'll have to do that manually.
    Phil Strong
    @philstrong
    #SenchaArchitect
    Sencha Architect Development Team
    SenchaCon or bust!
    Known Bugs in Architect Latest