This package includes the global command for to create a UXP-SWC app.
- NodeJS >= 14.19.1
- UXP >= 8.0
- Yarn package manager
-
Use the
create-swc-uxp-app
to create the boiler plate projectnpx @swc-uxp-wrappers/create-swc-uxp-app <name-of-the-app> cd <name-of-the-app>
-
Install the dependancies
yarn install
-
Install respective components from
swc-uxp-wrapper
library.yarn add @swc-uxp-wrappers/checkbox
-
Run the project using
yarn watch
oryarn build
yarn watch
-
Once you have the project structure ready, you can import the component in
index.js
and use it in theindex.html