Skip to content

Instructions for using the private package repository

Notifications You must be signed in to change notification settings

formio/instructions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Instructions for use

Form.io provides access to private modules that contain premium components and themes for enterprise plans. In order to use them, you will need to be granted access and use the pkg.form.io registry to install the modules.

  1. Ensure you have a form.io user account. Contact support@form.io and request access to private modules.
  2. Go to https://pkg.form.io and log in with the username and password of your form.io account. Please note that this is the USERNAME and not email address of your account in form.io. You can access your username by logging into portal and going to your account information at the top right. If you are able to log in to https://pkg.form.io then you have been granted access and are using the correct username and password.
  3. From within your project, log in to the package registry by running the following command:
npm adduser --registry https://pkg.form.io

Enter the same username and password from step 2.

  1. Find the package you want to install in your app. Premium is a very common one. To install it, from the command line in your app.
npm install @formio/premium --registry https://pkg.form.io

This will install the package within your application.

  1. To use it, in the main file of your app, Formio.use() the package. Depending on your language, do something like the following. (With react or vue, import Formio from react-formio or vue-formio instead of formiojs).
import { Formio } from 'formiojs';
import premium from '@formio/premium';

Formio.use(premium);
  1. Render forms as usual. Premium components will now be installed in your app.

About

Instructions for using the private package repository

Resources

Stars

Watchers

Forks

Packages

No packages published