|
@@ -15,10 +15,14 @@ full list of such aliases. The two common patterns are `dev:<app-name>` for
|
|
|
running a local development server, and `build:<app-name>` for creating a
|
|
|
production build.
|
|
|
|
|
|
+> Tip: `yarn dev` is a shorcut for `yarn dev:photos`
|
|
|
+
|
|
|
Note that yarn does not automatically update `node_modules` if you switch to a
|
|
|
branch that has added or modified dependencies. So if you encounter unexpected
|
|
|
errors on switching branches, make sure that your `node_modules` is up to date
|
|
|
-by running `yarn install` first (tip: `yarn` is a shortcut for `yarn install`).
|
|
|
+by running `yarn install` first.
|
|
|
+
|
|
|
+> `yarn` is a shortcut for `yarn install`
|
|
|
|
|
|
To add a local package as a dependency, use `<package-name>@*`. The "*" here
|
|
|
denotes any version.
|