NPM Package
Install RevoGrid Pro from our private GitHub Package Registry.
Building from Source
For maximum control, you can build the RevoGrid Pro plugins from source.
This allows you to customize the build process if needed.
Pre-Built Version
Option 1: Directly Include in Builds
Copy the into your project’s assets or libs folder.
Link the necessary JavaScript and CSS files in your HTML or import them into your JavaScript/TypeScript files.
This option is particularly suitable for quick testing or projects that don’t rely on npm for dependency management.
Option 2: package.json Using Local Files
For projects where you want to use a local version of the RevoGrid Pro plugins during development, you can reference the plugin files directly in your package.json.
This method is especially useful if you’re working with a cloned version of the repository or testing custom modifications.
Steps to Import Using Local Files:
Download files from the link above and extract them to a local folder.
Set Up the Local Reference in package.json. In your project’s package.json file, reference the local folder containing the RevoGrid Pro plugins. For example:
1
{
2
"dependencies": {
3
"@revolist/revogrid-pro":"file:./release"
4
}
5
}
Install Dependencies. Run the following command to install the local plugin:
Terminal window
1
npminstall
NPM will create a symlink to the specified folder, allowing you to use the local files as if they were an npm package. Use the Plugin in Your Project. Import the RevoGrid Pro plugins as you would with any npm package: