It allows to start exploring PWA solution for TYPO3 in minutes. It provides docker/ddev local enviroment with both TYPO3 and JS demo application.
It's based on
- https://github.com/TYPO3-Initiatives/headless
- https://github.com/TYPO3-Initiatives/headless_news
- https://github.com/TYPO3-Initiatives/nuxt-typo3
- https://github.com/TYPO3-Initiatives/create-nuxt-typo3
All you need is ddev in version at least v1.19.3.
- clone the repository and enter the repository folder
git clone https://github.com/TYPO3-Initiatives/pwa-demo.git
cd pwa-demo
- Boot up ddev docker containers
ddev start
- Then, please type
ddev pwa-front start
- Access frontend in your browser:
pwa-demo.ddev.site
. - Access TYPO3 backend:
api.pwa-demo.ddev.site/typo3
.
Credentials to TYPO3 backend are: admin:password
Development for this extension is happening as part of the TYPO3 PWA initiative, see https://typo3.org/community/teams/typo3-development/initiatives/pwa/
This ddev repository provides working application in production mode. To play with sources of nuxt-typo3 plugin based on API created by this ddev package just:
- Clone nuxt-typo3 inside of this repository.
git clone https://github.com/TYPO3-Initiatives/nuxt-typo3.git
- Go to nuxt-typo3 directory and install all needed packages
cd nuxt-typo3 && yarn install
- Inside of nuxt-typo3 directory call
yarn link
- this command create a symlink for sources of nuxt-typo3 (https://classic.yarnpkg.com/en/docs/cli/link/)yarn link
- Go to
front
directory and callyarn link "nuxt-typo3"
- Call
yarn dev
inside offront
directoryyarn dev
- Make some changes in
nuxt-typo3
directory - your front app should be triggered and rebuilded with new changes innuxt-typo3
sources.