Development

Project Repository

Check out our project on Gitlab to stay up to date on the development of Apollo UI.

Package management

Use Apollo UI as a dependency of your application with NPM or Bower. This gives you access to the variables, mixins and other goodies so you can make your application-specific styles consistent with the rest of the framework.

NPM

npm install apollo-ui@1.3.3 --save

Bower

bower install apollo-ui#1.3.3 --save

Compiled stylesheets

You can easily access the compiled CSS for Apollo from our CDN. This is the fastest way to start using Apollo styles in your project.

<link rel="stylesheet" href="https://cdn.ims.io/design/css/1.3.3/apollo.min.css">

Compiled JavaScript

Some JavaScript is required to enable the behavior of components like Dropdowns, Modals and Carousel. Include this script at the bottom of your page, after including a current version of jQuery as shown below.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script src="https://cdn.ims.io/design/js/1.3.3/apollo.min.js"></script>

Starter Template

Be sure to have your pages set up with the latest design and development standards, including:

  • Using an HTML5 doctype
  • Forcing Internet Explorer to use its latest rendering mode (read more)
  • And, utilizing the viewport meta tag.

Put it all together and your pages should look something like this:

<!DOCTYPE html>
<html lang="en">
  <head>
    <!-- Required meta tags always come first -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta http-equiv="x-ua-compatible" content="ie=edge">

    <!-- Apollo CSS -->
    <link rel="stylesheet" href="https://cdn.ims.io/design/css/1.3.3/apollo.min.css" crossorigin="anonymous">
  </head>
  <body>
    <h1>Hello, world!</h1>

    <!-- jQuery first, then Apollo JS. -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.3.7/js/tether.min.js"></script>
    <script src="https://cdn.ims.io/design/js/1.3.3/apollo.min.js" crossorigin="anonymous"></script>
  </body>
</html>