Skip to content

Commit

Permalink
docs: add one-liner dependency addition instructions in the documenta…
Browse files Browse the repository at this point in the history
…tion (#2831)

Include one-liner dependency addition instructions in the documentation
  • Loading branch information
utamori authored Jan 12, 2024
1 parent f25eaf1 commit b214f2c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/pages/docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ dev_dependencies:
build_runner: ^{{ versions.build_runner }}
```
Alternatively, you can achieve the same result using the following command:
```
dart pub add drift sqlite3_flutter_libs path_provider path dev:drift_dev dev:build_runner
```

If you're wondering why so many packages are necessary, here's a quick overview over what each package does:

- `drift`: This is the core package defining the APIs you use to access drift databases.
Expand Down

0 comments on commit b214f2c

Please sign in to comment.