cljds 1.2.0 cljds: ^1.2.0 copied to clipboard
ClojureDart project generation made using ClojureDart. Supports plain Dart and Flutter project.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate cljds
Use it
The package has the following executables:
$ cljds
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add cljds
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
cljds: ^1.2.0
Alternatively, 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:cljds/cljd-out/cljd/core.dart';
import 'package:cljds/cljd-out/cljd/string.dart';
import 'package:cljds/cljd-out/cljds/consts.dart';
import 'package:cljds/cljd-out/cljds/core.dart';
import 'package:cljds/cljd-out/cljds/generators/core.dart';
import 'package:cljds/cljd-out/cljds/generators/dart.dart';
import 'package:cljds/cljd-out/cljds/generators/flutter.dart';
import 'package:cljds/cljd-out/cljds/templates.dart';
import 'package:cljds/cljd-out/cljds/utils/io.dart';
import 'package:cljds/cljd-out/cljds/utils/log.dart';
import 'package:cljds/cljd-out/cljds/utils/names.dart';