gazelle_hosting_plugin 1.0.1
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");
}