Results 1 to 2 of 2

Thread: Using a custom theme with the new 6.6 Node-based tooling

  1. #1
    Sencha User patrickrs's Avatar
    Join Date
    Sep 2014
    Posts
    90
    Answers
    4
    Vote Rating
    3
      0  

    Question Using a custom theme with the new 6.6 Node-based tooling

    Hi, all...I successfully created a sample app using ext-gen and Ext JS 6.6, following the instructions on the Sencha site. It builds and runs just fine using the "npm start" command.

    However, I am having a monstrously difficult time applying my custom theme (which extends Triton) to this app. The build process fails, with errors like "cannot satisfy requirements for "my-custom-theme", etc.

    If I had to guess, the problem lies in the app.json file, where you actually define the theme. Ext JS seems to expect that the theme you choose for a given build (like desktop) will be one of the stock themes that ship with Ext JS, which are located in the namespaced @sencha NPM repo. I have no idea, nor can I find documentation, how to get Ext JS to recognize a theme located in an NPM package outside the default repo.

    Has anyone successfully done this?

    Thanks!

  2. #2
    Sencha User patrickrs's Avatar
    Join Date
    Sep 2014
    Posts
    90
    Answers
    4
    Vote Rating
    3
      0  

    Default

    Evidently, this is a bug. A Sencha engineer let me know that bug report SDKTOOLS-1999 reported this issue (though I still can't find the documentation for that report). I'm not sure what the problem is, nor how to resolve it. In the meantime, the NPM tooling capability is more or less useless to us. We can't run an app without our custom branding as defined in our theme.

Similar Threads

  1. Creating new theme based on Triton is using Neptune theme !
    By mpe@iseo.fr in forum Sencha Themer
    Replies: 9
    Last Post: 17 Aug 2017, 7:24 AM
  2. Replies: 5
    Last Post: 3 Mar 2014, 6:29 PM
  3. Replies: 1
    Last Post: 13 Feb 2014, 9:45 AM

Tags for this Thread

Posting Permissions

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