Commit 46447f9
committed
Fixed Nuxt not loading in dev environment
For `docker-compose.override`, the `app` directory is installed in the image, the `node_modules` directory is installed as well. However, when run, then the `frontend` directory from outside is mounted instead, and the environment fails to run.
This fix has been applied: https://stackoverflow.com/a/32785014
NOTE: this does mean that any new `npm` packages installed will require a rebuild of the `frontend`.1 parent 6d62bd4 commit 46447f9
File tree
4 files changed
+1207
-945
lines changed- {{cookiecutter.project_slug}}
- frontend
4 files changed
+1207
-945
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
82 | 83 | | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments