@formio/premium
TypeScript icon, indicating that this package has built-in type declarations

2.0.0-rc.11 • Public • Published

Premium components

This module contains premium components for form.io.

Usage

import premium from '@formio/premium';
import { Formio } from '@formio/js';
// License key is obligatory to use the library.
// You can obtain one by contacting form.io support at https://form.io/contact-us
Formio.license = 'yourLicenseKey';
Formio.use(premium);

You also need to include styles from the '/node_modules/@formio/premium/premium.css' into your project to make all the components work correctly.

Using HTML

<link rel="stylesheet" type="text/css" href="node_modules/@formio/premium/premium.css">

Using SCSS

@import '~@formio/premium/premium.css';

Troubleshooting

In case you're using webpack to bundle your application and meet the error "Can't resolve 'Formio' in 'node_modules/@formio/premium'" at build time, please add the following to your webpack configuration:

resolve: {
  alias: {
    Formio: require('node:path').resolve(__dirname, 'RELATIVE_PATH_TO_YOUR_APP_NODE_MODULES_DIR/formiojs/index.js'),
  },
}

Readme

Keywords

Package Sidebar

Install

npm i @formio/premium

Weekly Downloads

6

Version

2.0.0-rc.11

License

UNLICENSED

Unpacked Size

504 kB

Total Files

475

Last publish

Collaborators

  • brendanbond
  • alexeynikipelau
  • ryanformio
  • lane-formio
  • tanyagashtold
  • edwinanciani
  • travist