VSCode, package manager, git, npm

VSCode, package manager, git, npm

rldean1rldean1 Posts: 141Questions: 66Answers: 1

Hey, is it possible to use a package manager to download a specific plugin for DT (like the datetime.js file)?

Kinda like how npm creates a file structure? Can you use npm to install baseline DT files?

I pinpointed the datetime.js file on GIT, but other than manually downloading it, I don't know of any fancy or special way to inject it into the folder structure for my web app.

It's just a simple HTML web app in VSCode.

Answers

  • allanallan Posts: 63,689Questions: 1Answers: 10,500 Site admin

    Yes, you could use the datatables.net-plugins package, which is this repo.

    Then use:

    import 'datatables.net-plugins/sorting/datetime-moment';
    

    Allan

This discussion has been closed.