Here is a step-by-step guide to publish your theme.
# Step 1: Prepare asset hosting
Theme's assets must be hosted online, you can upload them to S3 or your own hosting...
For example, I'm going to host my assets at https://example.com/my-theme/1.0.0/, then I'll need to create a vue.config.js (in root directory):
module.exports = {
publicPath: 'https://example.com/my-theme/1.0.0/',
}
# Step 2: Compile assets
Now let's build the project as usual:
npm run build
# Step 3: Upload assets
Now I'll need to upload all files in dist folder to my hosting at https://example.com/my-theme/1.0.0/
# Step 4: Create theme on Hiweb
Login to hiweb, go to "Developers" zone and create a new theme. Enter your theme name, description, thumbnail, version, and finally copy the content of dist/index.html to "Theme source".
Now your theme is ready for installation.
← Config