Skip to content

Latest commit

 

History

History
 
 

todo-mvc

README.md

Dojo2 TodoMVC Example

A reference implementation of TodoMVC built with current pre-release versions of Dojo 2 packages.

Pre-requisites

@dojo/cli must be installed globally:

npm install @dojo/cli -g

Usage

To use todo-mvc, clone the examples repository and install the npm dependencies:

git clone https://github.com/dojo/examples
cd examples/todo-mvc
npm install

To run the application simply run the dojo build.

dojo build

To watch and serve the application source, then run the build with the -w command.

dojo build -w

Features

This package demonstrates how to build a simple application using Dojo 2 widgets.

It is an example of:

  • Custom widgets using @dojo/widget-core
  • Applying CSS to widgets
  • Using @dojo/router

How do I contribute?

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

Installation

To start working with this package, clone the repository and run npm install.

In order to build the project run dojo build.

Testing

Test cases MUST be written using Intern using the Object test interface and Assert assertion interface.

You can test TodoMVC locally using the @dojo/cli-test-intern command:

dojo test -a

Licensing Information

© 2017 JS Foundation. New BSD license.