Skip to content

A template for building Cloudflare apps with the latest Javascript and CSS features.

Notifications You must be signed in to change notification settings

GirlBossRush/ExampleBabelApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Babel App

Get going with Eager!

This is our example app with the latest JavaScript and CSS features.

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

Looking for a simpler setup? Check out our vanilla example app!

Setup

Fork and clone the repo or download the latest release.

Install the dependencies with npm install

Usage

  • npm run watch:js Watch for JavaScript changes and compile them.
  • npm run watch:css Watch for CSS changes and compile them.
  • npm run lint Check your JavaScript for errors and stylistic recommendations.
  • npm run build Compiles your JavaScript and CSS once for release.

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 Babel App with Eager

About

A template for building Cloudflare apps with the latest Javascript and CSS features.

Resources

Stars

Watchers

Forks

Packages

No packages published