# Getting started

# Installation

To get started you have to add the nuxt-typo3 module to your Nuxt.js (opens new window) application. To bootstrap your app we recommend to use create-nuxt-typo3 (opens new window), which is an exact fork of create-nuxt-app, but includes preconfigured options to start with nuxt-typo3.

# Install with yarn

yarn add nuxt-typo3

# Install with npm

npm install nuxt-typo3

# Configuration

Add the typo3 object to your nuxt.config.js to configure all required settings. Read more about configuration here (opens new window).

{
  modules: [
    'nuxt-typo3',
  ],

  typo3: {
    baseURL: 'https://yourwebsite.com',
    api: {
      baseURL: 'https://api.yourwebsite.com'
    },
    i18n: {
      locales: ['en', 'pl', 'de'],
      defaultLocale: 'en'
    }
  }
}

TIP

If you want to see TYPO3 headless API response on your homepage, please remove your pages/index.vue file.