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
    Olney, MD
    Posts
    1,905
    Vote Rating
    62
    Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice Phil.Strong is just really nice

      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
    -->

Thread Participants: 1

Tags for this Thread