TYPO3 Headless Frontend Rendering module based on Nuxt and Vue.js
Learn how to setup nuxt-typo3 module in your Nuxt 3 application.
You can also use the playground on StackBlitz
You can use the nuxi init command to initialize a fresh Nuxt project with the required nuxt-typo3 setup. Learn more about nuxi
npx nuxi@latest init -t gh:TYPO3-Headless/nuxt-typo3-starter <project-name>
Add @t3headless/nuxt-typo3 dev dependency to your project:
npx nuxi@latest module add typo3
Then, add @t3headless/nuxt-typo3 to the modules section of your Nuxt configuration:
export default defineNuxtConfig({
modules: ['@t3headless/nuxt-typo3'],
typo3: {
api: {
baseUrl: 'https://api.t3pwa.com'
}
}
})
Check out the Nuxt 3 documentation for more information about installing and using modules.
npm run dev:prepare to generate type stubs.npm run dev to start playground in development mode.