Deployment
Building your theme
To deploy a theme first build it using Webpack with the proper Module Federation configurations set.
Required ModuleFederationPlugin configurations
filename
must be set toremoteEntry.js
library.name
must be set totheme
library.type
must be set towindow
Common issues
If forking from another theme ensure
name
inpackage.json
andname
inModuleFederationPlugin
is unique.If using tailwindcss ensure that
important
is set intailwind.config
so 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