Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to run Dart in Firefox for development purposes?

I know you can run Dart code natively in your browser using Dartium (Chrome with an embedded Dart VM), and you can compile your Dart to JavaScript.

But seeing I prefer using Firefox for web development, is there a way to run Dart code directly in Firefox? For example via a plugin or extension?

like image 569
corgrath Avatar asked Feb 15 '14 08:02

corgrath


People also ask

Does flutter work on Firefox?

Buddy CI/CD allows you to instantly integrate Build Flutter app with Selenium Firefox to automate your development and build better apps faster.

Does Dart run in the browser?

Is Dart supported by my browser? Although no production browsers can execute Dart code directly, all modern browsers can execute Dart code that's been compiled to JavaScript.

How do you run a Dart script?

To run a Dart console application: Install the Code Runner Extension. Open the Dart code file in Text Editor, then use shortcut Ctrl+Alt+N , or right click the Text Editor and then click Run Code in context menu, the Dart console application will run and the output will be shown in the Output Window.


1 Answers

No.
I also haven't heard of any plans yet.
You can use pub serve which transpiles to JavaScript automatically, but this is rather slow.

You could make a feature request for Firefox, to make them aware of the demand.

like image 191
Günter Zöchbauer Avatar answered Nov 15 '22 06:11

Günter Zöchbauer