https://github.com/jop-software/ddev-nuxtjs-php-example
DDEV Example with a NuxtJS Frontend and a PHP Backend
https://github.com/jop-software/ddev-nuxtjs-php-example
Last synced: 9 months ago
JSON representation
DDEV Example with a NuxtJS Frontend and a PHP Backend
- Host: GitHub
- URL: https://github.com/jop-software/ddev-nuxtjs-php-example
- Owner: jop-software
- Created: 2022-05-25T20:40:05.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-25T20:53:44.000Z (over 3 years ago)
- Last Synced: 2025-02-15T04:43:47.610Z (11 months ago)
- Language: Vue
- Size: 189 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DDEV NuxtJS <-> PHP Example
This is a example DDEV Setup for development with a NuxtJS Frontend and a PHP Backend.
## Professional Support
Professional / Enterprise support is available. Please contact [mailto:info@jop-software.de](info@jop-software.de) for more information.
## Start
```bash
ddev start
```
## How does this work?
There is a NuxtJS example setup with a custom `Dockerfile` in `web/frontend`.
The Dockerfile is added as a service in `.ddev/docker-compose.frontend.yaml` which also adds a volume and overwrite the `CMD` directive to allow for live reloading.
## Production Setup
I'd suggest to load the web/backend and web/frontend from separate git repositories.
© 2022, jop-software Inh. Johannes Przymusinskis