Results 1 to 6 of 6

Thread: ExtJS 6.2 Hello World example

  1. #1
    Sencha User
    Join Date
    Jan 2017
    Posts
    16

    Default ExtJS 6.2 Hello World example

    I'm new to ExtJS.
    So far I've worked my way through a lot of documentation. I've installed the GPL SDK ExtJS 6.2.0 and SenchaCmd 6.2.1.29.
    On my local machine I have created a default workspace, through SenchaCmd "generate app", and have connected to my webbrowser. So far so good.
    In the ExtJS 6.2.0 QuickStart document (http://docs.sencha.com/extjs/6.2.0/g...roduction.html), I found a simple example to start with.
    Rather than copying the full developed code of this example, I prefer to build a replica
    starting from the beginning. However, I have no clue as to in which file of the workspace I
    have to include the first lines of code "Ext.Viewport.add({xtype:'panel',html:'Hello World!'
    });", and get this message displayed in my webbrowser.
    Can anyone provide some useful directions? Thx.

  2. #2
    Sencha Premium Member
    Join Date
    Dec 2014
    Posts
    121
    Answers
    3

    Default

    you could include it in the launch() section of your app.js file.

  3. #3
    Sencha Premium Member yorl1n's Avatar
    Join Date
    Mar 2015
    Location
    Germany
    Posts
    294
    Answers
    30

    Default

    There is a link to the fiddle(https://fiddle.sencha.com/#fiddle/1dma) in provided link, it is better to investigate the source code there. You can see that in app.js there is a launch function, that is the start point of extjs app. You can use fiddle for the small tests.

  4. #4
    Sencha User
    Join Date
    Jan 2017
    Posts
    16

    Default

    Thank you for your reply. I think I have found my way to get my first app upp and running (in draft version).

  5. #5
    Sencha User
    Join Date
    May 2010
    Location
    Kiev, Ukraine
    Posts
    156
    Answers
    15
    Vitaliy Khmurach
    Web Developer
    https://ext4all.com

  6. #6
    Sencha User
    Join Date
    May 2010
    Location
    Kiev, Ukraine
    Posts
    156
    Answers
    15
    Vitaliy Khmurach
    Web Developer
    https://ext4all.com

Similar Threads

  1. ExtJs contribution to world peace.
    By elnove in forum Community Discussion
    Replies: 1
    Last Post: 22 Mar 2010, 12:02 PM
  2. mixed output in the extjs world
    By nokia786 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 20 Oct 2008, 7:14 AM
  3. IE bug in 'Hello World' window example on extjs.com?
    By arth in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 14 Feb 2008, 8:16 PM

Posting Permissions

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