spark_framework 1.0.0-alpha.2
spark_framework: ^1.0.0-alpha.2 copied to clipboard
Lightweight isomorphic SSR framework for Dart with Custom Elements and Declarative Shadow DOM
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add spark_frameworkWith Flutter:
$ flutter pub add spark_frameworkThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
spark_framework: ^1.0.0-alpha.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:spark_framework/server.dart';
import 'package:spark_framework/spark.dart';