Add a comment for path dependencies in plugin example template (#50978)

This commit is contained in:
Jonas Finnemann Jensen
2020-03-17 20:31:52 +01:00
committed by GitHub
parent 08768e87e4
commit a4d30c1607

View File

@@ -27,6 +27,11 @@ dependencies:
{{#withPluginHook}}
{{pluginProjectName}}:
# When depending on this package from a real application you should use:
# {{pluginProjectName}}: ^x.y.z
# See https://dart.dev/tools/pub/dependencies#version-constraints
# The example app is bundled with the plugin so we use a path dependency on
# the parent directory to use the current plugin's version.
path: ../
{{/withPluginHook}}