/ExampleApp

Example app for the Cloudflare App Store developer documentation.

Primary LanguageJavaScriptMIT LicenseMIT

Example App

Download this app and replace our code any time you want to build an Cloudflare app.

Looking to use the latest JavaScript and CSS features? Check out our Webpack example app!

Setup

Fork and clone the repo or download the latest release.

Install the optional developer dependencies with npm install

Usage

  • npm run lint Checks JavaScript formatting and attempts to fix any errors.

Details

source/app.js

This is where the magic happens. Your app starts here.

source/app.css

Styles for your app.

install.json

This is where all the installer options are added for the app.

Syntax can be tricky, so be sure to double check it.

media/icon.sketch

An icon template for your app.

Troubleshooting

Install Example App with Cloudflare