Skip to content

jaymicrocode/examples

 
 

Repository files navigation

dojo-examples

Build Status

This repository contains example applications built using Dojo 2.

For current progress on Dojo 2, contribution guidelines and other information, please visit dojo/meta.

Usage

Currently, the examples assume you have a version of NodeJS 6 or later installed globally and available on the command line. Also, if you wish to see some of the examples, you will need a local web server installed.

First, clone the repository locally:

> git clone https://github.com/dojo/examples.git

Then change directory to the example you wish to work with and use npm to install the dependencies:

> cd todo-mvc
> npm install

If you don't have Grunt installed globally, you will need to do so:

> npm install -g grunt

To build a version of a web application you can access, the default task for Grunt will do so:

> grunt

Assuming that the root of this repository is available on your local web server under /examples then the application should be available on http://localhost/examples/todo-mvc/_build/src/ or http://localhost/examples/todo-mvc-kitchensink/_build/src/

Deploying to gh-pages

Assuming that you are working on a clone of the repository on the branch that you would like to deploy (typically master)

This assumes that npm & typings & dojo-cli have been installed for the example applications.

./scripts/gh-pages-publish.sh

The latest version(s) will now be available on github pages.

Features

There are currently three examples:

  • todo-mvc - A reference implementation of TodoMVC built with current pre-release versions of Dojo 2 packages.
  • todo-mvc-kitchensink - A feature-rich version of TodoMVC, built with current pre-release versions of Dojo 2 packages.
  • dojo-cli-example - An example of working with @dojo/cli.

Application examples that are deployed to gh-pages:

How Do I Contribute?

We appreciate your interest! Please see the Dojo Meta Repository for the Contributing Guidelines and Style Guide.

Installation

Refer to each README.md for details on installing the example.

Testing

Refer to each README.md for details on testing the example.

Licensing Information

© 2017 JS Foundation. New BSD license.

About

🚀 Dojo - example applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 72.5%
  • CSS 14.0%
  • HTML 12.2%
  • Other 1.3%