Add Required Fields
Legacy Process
The information here applies only for Showpad Apps v1 (deprecated). While your existing v1 Showpad Apps will continue to work, we strongly recommend:
- Creating new apps with Showpad Apps v2
- Migrating your v1 apps to v2
Thanks to the scaffolding in the previous step, you already have two of the required files:
index.html
package.json
By default, the package.json
file doesn't include two fields that are
essential for your Showpad App:
description
author
These fields must be manually modified. Open the file and add them. Be sure to enter a value for these fields. They'll be needed by the Experience App CLI.
Your package.json
file should now look similar to this:
{
"name": "create-experience-app",
"description": "Build your first Experience app",
"author": "Showpad app creator",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"serve": "vite preview"
},
"devDependencies": {
"typescript": "^x.x.x",
"vite": "^x.x.x"
}
}