Recommend this page to a friend! |
Classes of fathurrahman | mnTemplate | public/asset/vendor/select2/docs/pages/01.getting-started/01.installation/docs.md | Download |
|
Download title: Installation taxonomy:
In order to use Select2, you must include the compiled JavaScript and CSS files on your website. There are multiple options for including these pre-compiled files, also known as a distribution, in your website or application. Using Select2 from a CDNA CDN (content delivery network) is the fastest way to get up and running with Select2! Select2 is hosted on both the jsDelivr and cdnjs CDNs. Simply include the following lines of code in the
>>> <i class="fa fa-info-circle"></i> Immediately following a new release, it takes some time for CDNs to catch up and get the new versions live on the CDN. Installing with BowerSelect2 is available on Bower. Add the following to your
Or, run The precompiled distribution files will be available in
Manual installationWe strongly recommend that you use either a CDN or a package manager like Bower or npm. This will make it easier for you to deploy your project in different environments, and easily update Select2 when new versions are released. Nonetheless if you prefer to integrate Select2 into your project manually, you can download the release of your choice from GitHub and copy the files from the Include the compiled files in your page:
|