Installation
Getting started with Cue.js is quick and easy. You can integrate it into your project using popular package managers like npm or Yarn, or you can simply include it directly via a Content Delivery Network (CDN).
Choose Your Installation Method
For the quickest setup, you can include Cue.js directly in your HTML using CDN links. This is ideal for simple projects or prototyping, as it doesn't require any build tools.
Place these lines in the <head> section of your HTML file:
Minified Version (Recommended for Production):
Unminified Version (For Development/Debugging):
When using the CDN version, the Cue class will be globally available via window.Cue.
If you're using Node.js and a package manager like npm, run the following command in your project's terminal:
This will add cue.js as a dependency in your package.json file.
Once installed, you can import Cue.js into your JavaScript modules:
If you prefer Yarn as your package manager, use this command in your project's terminal:
This will add cue.js as a dependency in your package.json file.
After installation, you can import Cue.js into your JavaScript modules:
Next Steps
Once installed, you're ready to create your first tour!
Last updated