Closed justintaylor-dev closed 7 months ago
Make a CLI starter like we have for Bolt CEP.
Options include:
[x] Where to create project
[x] Framework (Svelte, React, Vue)
I added ( // BOLT-UXP_SVELTE-ONLY, // BOLT-UXP_VUE-ONLY, and // BOLT-UXP_REACT-ONLY comments around.)
// BOLT-UXP_SVELTE-ONLY
// BOLT-UXP_VUE-ONLY
// BOLT-UXP_REACT-ONLY
Also note the index.html will need to be updated with the right framework entrypoint
index.html
and the non-used framework specific files will need to be excluded
I have framework-specific package.json files like before (e.g. package.react.json etc)
package.react.json
[x] Display name
[x] Host App (PS, ID, AI, premierepro)
[x] ID (modify uxp.config.ts )
uxp.config.ts
[x] Enable Hybrid
If enabled, then include the src/hybrid public-hybrid directories, otherwise exclude them
src/hybrid
public-hybrid
Also if enabled, then keep the enableAddon and addon object in the uxp.config.ts
enableAddon
addon
[x] Install Dependencies
yarn create bolt-uxp command is working
yarn create bolt-uxp
Make a CLI starter like we have for Bolt CEP.
Options include:
[x] Where to create project
[x] Framework (Svelte, React, Vue)
I added (
// BOLT-UXP_SVELTE-ONLY
,// BOLT-UXP_VUE-ONLY
, and// BOLT-UXP_REACT-ONLY
comments around.)Also note the
index.html
will need to be updated with the right framework entrypointand the non-used framework specific files will need to be excluded
I have framework-specific package.json files like before (e.g.
package.react.json
etc)[x] Display name
[x] Host App (PS, ID, AI, premierepro)
[x] ID (modify
uxp.config.ts
)[x] Enable Hybrid
If enabled, then include the
src/hybrid
public-hybrid
directories, otherwise exclude themAlso if enabled, then keep the
enableAddon
andaddon
object in theuxp.config.ts
[x] Install Dependencies