parcel-plugin-dart

Parcel plugin for dartlang

Usage no npm install needed!

<script type="module">
  import parcelPluginDart from 'https://cdn.skypack.dev/parcel-plugin-dart';
</script>

README

CircleCI

parcel-plugin-dart

Parcel plugin for dart

Installation

$ npm install parcel-plugin-dart -S

Setup

NB: This plugin only works with the dart-sdk

Get stagehand

First get stagehand by running

$ pub global activate stagehand

Init project

First create the project directory

$ mkdir helloworld && cd helloworld

then setup the dependencies with

$ npm init && npm i parcel-plugin-dart -S

finally create the dart web project

$ stagehand web-simple

Start development server

$ parcel serve web/index.html