Threaded View

  1. #1
    Sencha Premium Member
    Join Date
    May 2012
    Vote Rating
    mwindley is on a distinguished road


    Default Answered: with Architect

    I would like to use with sencha architect.
    Any suggestions for documention or sample.
    Currently trying to achive the requirement for "set path".
    I do not know how to add it to the application node in architect as per documentation suggestion.
    You will need to tell the dynamic loader where to find the classes when they are required. Add this to the top of your app.js file.

    '': 'lib/io/src/io',
    '': 'lib/io/src/cf'
    Regards Maurice

  2. We haven't yet documented how to integrate Sencha Architect and but will will include that in a future release.

    Architect produces project that don't use the loader so you don't need to call setPath. You can also ignore the other stetting and commands related to the build.

    However you will need to manually include the and as script tags in the head of your app.html page.

    <script type="text/javascript" src="lib/"></script>
    <script type="text/javascript" src="sencha-io.js"></script>

    just change the path to match where you put the io download.

Thread Participants: 2