Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neutrino2211/parcel-plugin-dart
Parcel plugin for [dart](https://dartlang.org)
https://github.com/neutrino2211/parcel-plugin-dart
Last synced: 2 months ago
JSON representation
Parcel plugin for [dart](https://dartlang.org)
- Host: GitHub
- URL: https://github.com/neutrino2211/parcel-plugin-dart
- Owner: neutrino2211
- License: bsd-3-clause
- Created: 2018-12-27T13:28:00.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-01T18:01:46.000Z (about 6 years ago)
- Last Synced: 2024-10-16T07:32:11.437Z (3 months ago)
- Language: JavaScript
- Size: 127 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-parcel - Dart - Plugin for Dart support via dart2js (Plugins / JavaScript dialects, other languages)
README
[![CircleCI](https://circleci.com/gh/neutrino2211/parcel-plugin-dart/tree/master.svg?style=svg)](https://circleci.com/gh/neutrino2211/parcel-plugin-dart/tree/master)
# parcel-plugin-dart
Parcel plugin for [dart](https://dartlang.org)## NOTE
This plugin only works with the [dart-sdk](https://www.dartlang.org/install)
Imports via the `package:` scheme don't work but `dart:` imports work fine## Installation
```sh
$ npm install parcel-plugin-dart -S
```
## Setup#### Get `stagehand`
First get `stagehand` by running
```sh
$ pub global activate stagehand
```#### Init project
First create the project directory
```sh
$ mkdir helloworld && cd helloworld
```
then setup the dependencies with
```sh
$ npm init && npm i parcel-plugin-dart -S
```finally create the dart [web](https://webdev.dartlang.org) project
```sh
$ stagehand web-simple
```#### Start development server
```sh
$ parcel serve web/index.html
```