TramwayJS

Setup

Setup

In order to set up a Tramway application, you'll need to follow a few steps:

  1. Install the CLI in your project dev dependencies.
npm i -D tramway
  1. Setup Tramway with Tramway's install command
./node_modules/.bin/tramway install

By this point, you will now have a basic application scaffold.

image

Build and Serve

To build and serve the application:

  1. Build the src using Tramway's build command which encapsulates the main but extendable Babel recipe.
./node_modules/.bin/tramway build
  1. Serve the application using Tramway's serve command. This will run the application on a separate thread with a watcher that restarts on file changes.
./node_modules/.bin/tramway start