Am I adding a third-party library correctly? #1155

Closed
opened 2025-08-09 17:19:04 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @TravisBoatman on 12/26/2016

I'm using AdminLTE as my bootstrap UI with knockoutJS spa. I've insatlled the bootstrap template via npm and configured webpack like so.

    entry: {
        vendor: ['...', 'admin-lte', 'admin-lte/dist/css/AdminLTE.css', 'admin-lte/dist/css/skins/skin-blue.css'],
    },

The output is successful but the AdminLTE app.js (which lives in vendor.js) needs to be executed at startup. I've never before used webpack and I'm very confused on how to work with it to make the javascript execute at startup.

Am I adding the library correctly?

*Originally created by @TravisBoatman on 12/26/2016* I'm using AdminLTE as my bootstrap UI with knockoutJS spa. I've insatlled the bootstrap template via npm and configured webpack like so. ``` entry: { vendor: ['...', 'admin-lte', 'admin-lte/dist/css/AdminLTE.css', 'admin-lte/dist/css/skins/skin-blue.css'], }, ``` The output is successful but the AdminLTE app.js (which lives in vendor.js) needs to be executed at startup. I've never before used webpack and I'm very confused on how to work with it to make the javascript execute at startup. Am I adding the library correctly?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1155
No description provided.