Skip to content
Dart based Counter App example.
Dart HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
web
.editorconfig
.gitignore
CHANGELOG.md
LICENSE
README.md
analysis_options.yaml
pubspec.yaml

README.md

play-with-dartlang

Dart based Counter App example.

Based on: TodoMVC implementation

Created from templates made available by Stagehand under a BSD-style license.

How to setup

Setup dart

# Install dart-lang
brew tap dart-lang/dart
brew install dart

# Install stagehand(Project generator)
pub global activate stagehand

# Enable webdev(for web developent)
pub global activate webdev

# Generate web files.
# Already done it for you :)
# stagehand web-simple

# Install dependencies
pub get

# Start web (with HMR)
webdev serve --auto restart

# Build for production
webdev build

# Start production server(by serve(Node.js server that does serving static files))
cd build && npx serve -l 4000
You can’t perform that action at this time.