Installation

Install Syidax Core from public npm.

3. Connect a Pro license#

For a standalone Core Pro installation, use this example. Serve the license JSON at a static URL accessible to your app. If you chose the Core Pro alias installation, replace @syidax/core-pro with @syidax/core in these imports.

JavaScript
import '@syidax/core-pro/css/core';
import { connectLicense } from '@syidax/core-pro/license';
import { defineCustomElement } from '@syidax/core-pro/components/sy-button.js';

await connectLicense('/syidax-license.json');
defineCustomElement();

Run your app’s development server and check the Button. Community does not require a Pro license.