Skip to main content

Add Required Fields

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"
}
}