Results 1 to 2 of 2

Thread: How to include a resource folder when native packaging with sencha cmd

  1. #1
    Sencha User
    Join Date
    Apr 2013
    Posts
    7
    Vote Rating
    1
      0  

    Default How to include a resource folder when native packaging with sencha cmd

    Hi all,

    How can i include a resource folder when using the sencha cmd for native packaging ?

    Thanks

  2. #2
    Sencha User Phil.Strong's Avatar
    Join Date
    Mar 2007
    Location
    Olney, MD
    Posts
    1,953
    Vote Rating
    65
      0  

    Default

    use the app.json file to add css, images, and js. An alternative is to add these as resources in Architect which in turn adds them as link, script tags to the index.html file.

    I would utilize the resources/ directory generated by Cmd.

    If it's say images see this part of the app.json
    /**
    * Extra resources to be copied along when build
    */
    "resources": [
    "resources/images",
    "resources/icons",
    "resources/startup"
    ],
    Phil Strong
    @philstrong

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •