[]
        
(Showing Draft Content)

ARJS in PureJS

Installation

ARJS is represented on npm with packages for each module. As with all npm packages, you need to have NodeJS installed on your computer to use it.

The latest ARJS release version can be installed from npm by executing the following command from the NodeJS command prompt:

npm install @grapecity/arjs.purejs.all

This will install all of our pure JavaScript modules. If you want to install support for other frameworks or to install specific control modules, see: referencing npm.

Adding ARJS to your Application

First, add a host element to your application and give it an ID.

<div id="hostElement"></div>

ARJS package contains JavaScript modules in CommonJS format. You can use them along with tools that are capable of loading modules, like the Webpack bundler or SystemJS run-time module loader.

To import ARJS modules into your application backed by TypeScript or Babel you can use ES2015 import statements. All module names in import statements begin with the "@grapecity/" prefix, followed by the module name.