Search results

Register Syncfusion License key in Vue application

24 May 2022 / 1 minute to read

Syncfusion license key should be registered, if your project using Syncfusion Vue packages reference. The generated license key is a string that needs to be registered after any Syncfusion Vue reference.

Note: Syncfusion license validation is done offline during application execution and does not require internet access. Apps registered with a Syncfusion license key can be deployed on any system that does not have an internet connection.

The following code is used to register the license.


Register the license key in the index.js file of the Vue project.

Copied to clipboard
import { createApp } from 'vue'
import App from './App.vue'
import { registerLicense } from '@syncfusion/ej2-base';

// Registering Syncfusion license key
registerLicense('License Key');

Note: Only from 2022 Vol 1 v20.1.0.47, license key registration required for Essential JavaScript 2 products.