Skip to content

largoelks/quick-start

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StealJS Quick Start

Go to StealJS.com for step-by-step instructions to create this app from scratch.

Instructions

Prerequities: Ensure Node.js along with NPM and grunt-cli are properly installed. You will also need a webserver. If you don't have one, you can install this simple command-line http-server.

Clone

Clone the repo.

> git clone [email protected]:stealjs/quick-start.git
Install

Install Node modules

> cd quick-start
> npm install

Build

Run the grunt build task to have StealJS collect, minify and concatenate all the required javascript files.

> grunt build
Serve

Spin up your webserver 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.

About

StealJS quick start app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.5%
  • HTML 19.8%
  • CSS 1.7%