stealjs / quick-start

StealJS quick start app

Home Page:https://stealjs.com/docs/StealJS.quick-start.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StealJS Quick Start

This repo is the result of following the step-by-step instructions in the StealJS Quick Start Guide. You can follow that guide to create this example app from scratch.

Instructions

Prerequisites:

Clone

Clone the repo.

git clone git@github.com:stealjs/quick-start.git

Install

Install Node modules

cd quick-start
npm install

Build

Run the following command to create a new folder in the project called dist.

npm run build

The dist folder contains everything needed to run your app in production.

Serve

Spin up your web server or run http-server:

http-server

Open file http://localhost:8080/index.html in browser.

Open the Network panel in Developer Tools and you should see only two JavaScript files. The steal-tools grunt task builds a graph of the required files, minifies and concatenates all the scripts into main.js.

Screenshot of the finished example app

About

StealJS quick start app

https://stealjs.com/docs/StealJS.quick-start.html

License:MIT License


Languages

Language:HTML 61.7%Language:JavaScript 28.0%Language:CSS 10.3%