Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Dart TodoMVC Example

Dart is a class-based, object-oriented language with lexical scoping, closures, and optional static typing. Dart helps you build structured modern web apps and is easy to learn for a wide range of developers.

Dart - dartlang.org

Learning Dart

The Dart website is a great resource for getting started.

Here are some links you may find helpful:

Articles and guides from the community:

Get help from other Dart users:

If you have other helpful links to share, or find any of the links above no longer work, please let us know.

Running

Dart compiles to JavaScript and thus runs across modern browsers. Dart also can run in its own virtual machine.

Both Dart files and JS compilation result are provided in this sample, therefore it actually works in any browser.

To edit and debug the code, you can use Dart Editor. The editor ships with the SDK and Dartium, a dedicated version of Chromium with an embedded Dart VM.

Compiling

cd web/dart
dart2js app.dart -oapp.dart.js

The dart2js compilator can be found in the SDK.

The currently provided JS is minified (dart2js [...] --minify).

Syntax Analysis

cd web/dart
dart_analyzer app.dart --fatal-type-errors --fatal-warnings

Dart SDK is still under active development, and new releases include breaking changes. The application is built by drone.io, which proposes a specific build trigger for Dart SDK updates.

Build Status

Build history can be seen here

Credit

This TodoMVC application was created by Mathieu Lorber.