Deployment
Building your theme
To deploy a theme first build it using Webpack with the proper Module Federation configurations set.
Required ModuleFederationPlugin configurations
filenamemust be set toremoteEntry.jslibrary.namemust be set tothemelibrary.typemust be set towindow
Common issues
If forking from another theme ensure
nameinpackage.jsonandnameinModuleFederationPluginis unique.If using tailwindcss ensure that
importantis set intailwind.configso styles do not collide.
CSS Styles
CSS should also be built and bundled into one css file index.css.
Publishing your theme
To publish your theme simply upload your static files to a file store such as Arweave or an Amazon S3 Bucket. Users will be able to apply this new theme in the designer settings via your file store url ie https://arweave.net/KBLX...
Last updated