Results 1 to 5 of 5

Thread: How to build bootstrap files using ext-modern npm package

  1. #1
    Sencha User
    Join Date
    Oct 2013
    Posts
    42

    Default How to build bootstrap files using ext-modern npm package

    Previously I can execute "sencha ant bootstrap" at the root of the framework and it generated bootstrap files (ext-modern-all.js, etc...) that I can use to load full extjs framework manually.

    How I can generate bootstrap files using @sencha npm packages?
    I am tried to run "sencha ant build" inside the @sencha/ext-modern directory, but get error "Cannot satisfy requirements for "core"!".

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    1,006

    Default

    Hi there- sorry for the delay. I have shared this issue with the support team and asked that they look into this at their earliest convenience. Your patience is greatly appreciated!

    Michele

  3. #3
    Sencha User
    Join Date
    Oct 2013
    Posts
    42

    Default

    Thanks, I will glad to get any info.

  4. #4
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    533

    Default

    Hello,

    Download and install bootstrap library from npm’s public repository.


    npm install bootstrap


    Open the editor and expand the “node_modules” folder. Look for bootstrap folder and choose the minified js file that you want to use.
    Add its path to “js” array in app.json


    Code:
    "js": [
        {
          "path": "app.js",
          "bundle": true
        },
    	{
          "path": "node_modules/bootstrap/dist/js/bootstrap.min.js"
        }
      ],

    Reference Lnk: https://medium.com/@walkingtreetech/...g-9d59e74a3b9d

    Regards,
    Kumar
    Sencha Support.

  5. #5
    Ext Support Team
    Join Date
    Jan 2018
    Posts
    533

    Default

    Hello,

    This thread is being closed now as duplicate as we will be communicating with you on the other forum:

    https://www.sencha.com/forum/showthr...rn-npm-package

    Regards,
    Kumar
    Sencha Support.

Similar Threads

  1. Replies: 1
    Last Post: 25 Jan 2019, 3:06 AM
  2. Ext 6.5 -Unable to build app using package having modern component
    By siddharth-arvan in forum Ext JS 6.x Q&A
    Replies: 3
    Last Post: 2 Jul 2017, 10:35 AM
  3. Placing CSS files before JS files in bootstrap.json
    By jamiemcl001 in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 28 May 2014, 12:02 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
  •