Results 1 to 4 of 4

Thread: Unable to apply custom theme

  1. #1
    Sencha User
    Join Date
    Apr 2015
    Posts
    1

    Default Unable to apply custom theme

    I'm an ExtJs customer and want to use the ExtJs component with React.
    So I followed the instructions and cloned and setup the ext-react-classic-boilerplate. Now I'm trying to create a custom theme for the app ( followed by this https://docs.sencha.com/extreact/6.6...s/theming.html)

    Code:
    npx ext-react generate theme --name my-theme --baseTheme theme-triton
    then I updated the webpack.config
    Code:
    new ExtWebpackPlugin({
            framework: 'react',
            toolkit: 'classic',
            port: port,
            profile: buildprofile,
            environment: buildenvironment,
            verbose: buildverbose,
            theme: './ext-react/packages/my-theme',
            packages: []
    })
    But it always fail to compile after such changes.

    Any suggestions why this is happening and what I can do about it?

  2. #2

    Default

    Did you find a solution?

  3. #3
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    542
    Answers
    7

    Default

    Hello,

    We will need to look into the details of the error you have been getting once you apply the Custom theme, and also to mention that after a change in ExtReactWebpackPlugin need npm start to see changes, hence need all steps.

    Regards,
    Kumar
    Sencha Support.

  4. #4
    Sencha - Sales Team
    Join Date
    Feb 2012
    Location
    Fort Myers, Florida
    Posts
    42

    Default

    the theme parameter in the plugin does not need a path, just the name of the theme
    Marc Gusmano
    Sales Engineer
    Sencha Inc.

Similar Threads

  1. Apply custom theme to grid filters
    By ashok9 in forum Ext JS 6.x Q&A
    Replies: 5
    Last Post: 20 Jun 2019, 11:28 AM
  2. Replies: 5
    Last Post: 3 Mar 2014, 6:29 PM
  3. Apply custom namespace to Ext custom build
    By cwall in forum Ext: Discussion
    Replies: 0
    Last Post: 21 Jun 2011, 6:28 AM
  4. Unable to Bild Theme Through Ext Theme Builder
    By neeraj.mishra in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 19 May 2008, 11:45 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
  •