PLEASE NOTE: Since we update Flexmonster Pivot with new features biweekly, the information might become outdated. Please check our latest news.

Top 3 ways to include Flexmonster into your project

Top 3 ways to include Flexmonster into your project

Today I’m going to tell you about the options to include Flexmonster JavaScript library in your project. Among possible ways, you can choose the one that suits you best. Well, let’s start.

Option 1. Download ZIP package

You can download ZIP with all compiled and minified files by submitting the form on our site. Then, simply follow the instructions inside the package and copy/paste library files into your project.

Pros:

  • Library files are served within your server
  • Version of the library stays the same until you decide to update

Cons:

  • Need to manually download ZIP everytime you want to update the version

Option 2. Use content distribution network (CDN)

The goal of CDN is to distribute service spatially relative to end-users to provide high availability and high performance. We push every new release to our CDN. You can refer it as follows:

<link href="https://cdn.flexmonster.com/flexmonster.min.css" rel="stylesheet">
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>

Pros:

  • No need to download and copy files to your server
  • High availability and high performance in terms of loading scripts
  • Your application will automatically use the latest release

Cons:

  • Not suitable if you want to stick with an exact version

Option 3. Use package manager (NPM)

All updates are also available as NPM package. If you are already using Node.js/NPM in your project, it might be the most convenient approach. Installing Flexmonster via NPM is simple as that:

npm i flexmonster --save

Pros:

  • Seamless if you are using NPM
  • Easy updates as well as option to stick with an exact minor version

Cons:

  • Requires NPM

Next Steps

In case you need more details about starting with Flexmonster please refer to the Quick Start guide.

Hope you find the above information useful and it will help you to choose the most suitable option for your project. Have a nice day and follow the updates!

Subscribe to our news: