index_page 0.1.0
index_page: ^0.1.0 copied to clipboard
Transformer which outputs a simple index.html file in all folders under web when one is not already present.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add index_pageThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
index_page: ^0.1.0Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:index_page/transformer.dart';