GithubHelp home page GithubHelp logo

stealjs / quick-start Goto Github PK

View Code? Open in Web Editor NEW
1.0 10.0 1.0 75 KB

StealJS quick start app

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

License: MIT License

JavaScript 28.00% HTML 61.71% CSS 10.29%
stealjs

quick-start's Introduction

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 [email protected]: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

quick-start's People

Contributors

chasenlehara avatar cklanac avatar greenkeeper[bot] avatar matthewp avatar nlundquist avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

largoelks

quick-start's Issues

Just started the project an 404 js

[Sun Jan 08 2017 23:04:20 GMT+0200 (FLE Standard Time)] "GET /dist/bundles/index.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36"
[Sun Jan 08 2017 23:04:20 GMT+0200 (FLE Standard Time)] "GET /dist/bundles/index.js" Error (404): "Not found"

the file is created in a different location
dist/bundles/stealjs/index.js

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.