gazelle_hosting_plugin 1.0.1 copy "gazelle_hosting_plugin: ^1.0.1" to clipboard
gazelle_hosting_plugin: ^1.0.1 copied to clipboard

A simple plugin for hosting static files with the Gazelle framework.

example/gazelle_hosting_plugin_example.dart

import 'package:gazelle_core/gazelle_core.dart';
import 'package:gazelle_hosting_plugin/gazelle_hosting_plugin.dart';

void main() async {
  final app = GazelleApp(
    // add static hosting plugin
    plugins: [StaticHostingPlugin()],
    port: 3001,
    routes: [],
  );

  await app.start();
  print("Static hosting plugin example started on port 3002");
}
0
likes
145
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

A simple plugin for hosting static files with the Gazelle framework.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

gazelle_core, http, shelf, shelf_static

More

Packages that depend on gazelle_hosting_plugin