mirror of
https://github.com/java-james/flutter_dotenv.git
synced 2025-05-17 16:05:53 +08:00
chore(docs): improve readme on where to add the assets
key (#123)
This commit is contained in:
@ -53,8 +53,9 @@ ESCAPED_DOLLAR_SIGN='$1000'
|
||||
2. Add the `.env` file to your assets bundle in `pubspec.yaml`. **Ensure that the path corresponds to the location of the .env file!**
|
||||
|
||||
```yml
|
||||
assets:
|
||||
- .env
|
||||
flutter:
|
||||
assets:
|
||||
- .env
|
||||
```
|
||||
|
||||
3. Remember to add the `.env` file as an entry in your `.gitignore` if it isn't already unless you want it included in your version control.
|
||||
|
Reference in New Issue
Block a user