Giter Site home page Giter Site logo

ronlobo / dart-jsinterop-quill Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vsmenon/dart-jsinterop-quill

0.0 1.0 0.0 29 KB

Testing Dart JS-interop with quilljs

Makefile 4.13% JavaScript 4.46% Dart 75.22% Shell 1.64% HTML 7.07% CSS 7.49%

dart-jsinterop-quill's Introduction

dart-jsinterop-quill

This is an example workflow to run Dart with Webpack as a proof of concept as shown in this talk.

It's been tested on the Mac only for now. The following steps should be run in local clone directory of this repository.

  • Install a recent Dart SDK. You will need 1.21.0-dev.2.0 or later. Set the DART_SDK environment variable to point to your installed SDK. Ensure that the Dart bin ($DART_SDK/bin) is in your path. This should include the dart and dartdevc executables.

  • Install Dart dependencies. (--packages-dir is required for make)

pub get --packages-dir
  • Install Node dependencies (for webpack, etc.).
npm install
  • Do an initial build.
make all
  • Start the Dart listener.
dart tool/watch.dart 
  • In a separate terminal, start the webpack server in the same directory. Add the -d option to enable source maps (though it slows the rebuild slightly).
npm start
  • Navigate your browser(s) (recent Chrome, Firefox, or Safari 10) to http://localhost:8080/webpack-dev-server/

  • Try an edit. For example, edit lib/captains_log.dart and change the theme from "snow" to "bubble". Your browsers should update immediately.

dart-jsinterop-quill's People

Contributors

nshahan avatar vsmenon avatar natebosch avatar

Watchers

Ron Lobo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.