webapp 1.1.2 webapp: ^1.1.2 copied to clipboard
The WebApp package simplifies fast and efficient server-side web app development with Dart, offering tools for APIs, databases, WebSockets, and scalable projects
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate webapp
Use it
The package has the following executables:
$ webapp
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add webapp
With Flutter:
$ flutter pub add webapp
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
webapp: ^1.1.2
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:webapp/wa_console.dart';
import 'package:webapp/wa_mail.dart';
import 'package:webapp/wa_model.dart';
import 'package:webapp/wa_model_less.dart';
import 'package:webapp/wa_route.dart';
import 'package:webapp/wa_server.dart';
import 'package:webapp/wa_tools.dart';
import 'package:webapp/wa_ui.dart';