picosite 0.2.1 copy "picosite: ^0.2.1" to clipboard
picosite: ^0.2.1 copied to clipboard

A minimal static site generator with http preview server

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate picosite

Use it

The package has the following executables:

$ picosite

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add picosite

With Flutter:

 $ flutter pub add picosite

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  picosite: ^0.2.1

Alternatively, 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:picosite/cli.dart';
import 'package:picosite/config.dart';
import 'package:picosite/content.dart';
import 'package:picosite/defaulttemplate.dart';
import 'package:picosite/previewserver.dart';
import 'package:picosite/version.dart';
1
likes
100
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

A minimal static site generator with http preview server

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

args, io, markdown, mustache_template, path, shelf, shelf_static, watcher, yaml

More

Packages that depend on picosite