keopx / ddev-nuxtjs-php-example

DDEV Example with a NuxtJS Frontend and a PHP Backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 for more information.

Start

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

About

DDEV Example with a NuxtJS Frontend and a PHP Backend


Languages

Language:Vue 77.5%Language:JavaScript 18.2%Language:Dockerfile 3.7%Language:PHP 0.6%