Skip to content
Amplify from Studio 24
  • Get started
  • Fundamentals
  • Layout helpers
  • Core components
  • Advanced components
  • Design handover & standards
  • Browser support
  • CSS
  • JavaScript

Get started

A living guide

This is a living guide, running off your project Sass and JavaScript. It starts as the default, clean starter kit. It is not meant to be styled nicely.

As you write your project's Sass and JavaScript, this guide will pick up those changes.

You can delete this directory (/amplify) if you don't need to refer to these docs or don't want to include it in your finished project.

  1. Grab the latest release of Amplify from GitHub and add the ZIP file contents into your project (probably into a theme directory, but it will depend on your project setup)
  2. Check that the config from and to paths in package.json are correct for your project setup
  3. Check the context and output paths in webpack.config.js are correct for your project setup
  4. Optional: copy the /amplify directory into the webroot
  5. Follow the command line instructions to install project dependencies and check there are no errors when building the front-end assets
  6. Make sure the html element in your web page template has an appropriate lang attribute and the no-js class
  7. Make sure your web page template includes the following (which can be copied from any of the example pages in the /amplify directory):
    • link to the core stylesheet
    • link to the advanced stylesheet, including the media query to determine which browsers it will be served to
    • link to the print stylesheet
    • script for the Font Face Observer library in the head
    • another script in the head, which checks when the desired web font is loaded, adds the fonts-loaded class to html, adds the main JavaScript file to the head and switches the no-js class to js
© Studio 24