Refactor: move Nuxt/Vue files to client/ directory in source
The current layout of the project is confusing as the root directory has the client (Nuxt/Vue) files and there’s a server/ directory that has the Feathers/Express files.
Instead, it should look like this:
- root
- client/
– …
- server/
– …
- …
Tasks
-
Move Nuxt/Vue source files to a new client/ directory -
Use srcDir
property in configuration to tell Nuxt to use that directory innuxt.config.js
(see https://nuxtjs.org/api/configuration-srcdir/#the-srcdir-property) -
Also, move the config/
directory (which is used by FeathersJS) toserver/config
and pass that new path to FeathersJS inserver/app.js
when configuring the app.