Add the ability to run Dart web apps
See original GitHub issue(Updated July 2017)
Given DDC now works in pub serve
the plan is to just use that and the Chrome Debugger protocol for debugging. This means no Dartium support.
I’ve opened #386 to collect some requirements/ideas for how this will work and plan to work on it over the coming weeks.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Get started: Web apps - Dart
1. Play with a web app in DartPad · 2. Install Dart · 3. Get CLI tools or an IDE (or both) ·...
Read more >Chapter 10. Building a Dart web app - Dart in Action
When a Dart app starts running, it uses the code started by main() to build a UI and wire up event handlers, such...
Read more >Building a Simple Web Application in Dart
Learn how to build a simple web application using the Dart programming language.
Read more >Dart's plan to make it easier for you to build web apps - YouTube
Thanks to Dart's Dart to JavaScript compiler, you'll see how you get all of that while still being able to run on any...
Read more >Server Side Dart for Beginners: 04 Setting Up Web Application
In this video, we set up the web application to interact with the server. We introduce the form element in html, and discuss...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FWIW for anyone doing web apps, while Dart Code doesn’t have supports, I still managed to get some basic behaviour for hitting
F5
with the following config in Code (this is without any Dart Code changes - you can do this today; though it shouldn’t be required when Dart Code has real web support). F5 kicks off the Chrome debugger, but first it invokespub run build_runner serve
and it has some regexes so Code knows when it’s idle (versus building), so it will wait until the build is finished before opening the browser.tasks.json:
launch.json:
Source maps for the files in
web
seem to work out of the box, but I haven’t had chance to dig into other files (like the SDK) yet.Something similar to what Webstorm has would be great. An opinionated list of priorities:
pub build
menu in editor