TYPO3 module for Nuxt.js and TYPO3 headless provides API handling and frontend rendering.
✅ Handle dynamic API routes
✅ Frontend layouts
✅ Backend layouts
✅ Multilanguage
✅ Meta tags provided by API
✅ Most of the standard TYPO3 Content Elements (in progress)
✅ SSR Ready
We're working on documentation/guide, but you can use it right now.
Install with yarn
yarn add nuxt-typo3
Install with npm
npm install nuxt-typo3
- Add
typo3
object to your nuxt.config.js to configure all required settings.
{
modules: [
'nuxt-typo3',
],
typo3: {
baseURL: 'https://yourwebsite.com',
api: {
baseURL: 'https://api.yourwebsite.com'
},
i18n: {
locales: ['en', 'pl', 'de'],
defaultLocale: 'en'
}
}
}
-
nuxt-typo3
require Vuex store. Create empty index.js file in store directory, read more here. -
remove
index.vue
from pages directory - now your pages provides TYPO3 API
- Clone this repository
- Install dependencies using
yarn install
ornpm install
- Start development server using
npm run dev
Copyright (c) MACOPEDIA