Manifest
Create a json to import any react js component
Get Started
Download or clone the following repository that will serve as a template to create plugins for uncodie
Publish your project to a git repository that can be downloaded
Register the new plugin and correctly configure its manifest
Associate the plugin to the project you want to use it
JSON Structure Example
Properties
name
string
Component name
version
number
A version of your plugin or script.
description
string
Brief description of your plugin or script.
EnvVars
environment_variable
List of environment variables.
parameters
parameter
List of objects to declare the parameters required for your plugin or script. Using the parameter Object Structure.
attrs
attribute
List of parameters as an Array containing the information of the props that the compomnet should recive in the IDE
events
array
List of the events that the component API available for the rest of the app to execute custom logic
isWrapper
boolean
Indicates whether the component can be used as a wrapper to hold other components in the app Layout
packageName
string
Custom name for the package.json file in the importion process
origin
string
URL of the Plugin, if it is a public project it is not necessary to add the accesToken
Attribute Object
name
string
Parameter Name
type
string
Type to enter the value of your parameter, it can be "dynamic" to access the data source or "scalar" to manually enter the value through the Plugin
required
boolean
Whether or not the parameter is a required value to work
Environment Variable Object
key
string
Key name for your var
value
string
Var value
Export Type Enumeration
Possible Values:
Default
string
Select this option when there is only 1 react component in your file
Named
string
Select this option to import the component with the same name value as the manifest "name" parameter from a library containing several react components
Last updated
Was this helpful?