Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.63 KB

README.md

File metadata and controls

55 lines (33 loc) · 1.63 KB

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