Socket
Socket
Sign inDemoInstall

@remindgmbh/nuxt-typo3

Package Overview
Dependencies
191
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @remindgmbh/nuxt-typo3

This nuxt3 module is the frontend part of the [TYPO3 headless extension](https://github.com/TYPO3-Headless/headless) and [remind/headless](https://github.com/remindgmbh/headless).


Version published
Maintainers
1
Created

Readme

Source

REMIND - Nuxt TYPO3

This nuxt3 module is the frontend part of the TYPO3 headless extension and remind/headless.

Requirements

TYPO3 Instance with the following extensions:

Installation

  1. install using npm install @remindgmbh/nuxt-typo3

  2. add module in nuxt.config.js

    export default defineNuxtConfig({
        ...
        modules: [
            ...
            '@remindgmbh/nuxt-typo3',
            ...
        ]
        ...
    })
    

Configuration

Module options are described in ModuleOptions Interface in module.ts and can be set using the config key typo3. Public runtimeConfig can be used as well to set module options.

Available App Config inputs are described in AppConfigInput Interface.

Customization

Styles only

To customize a components scss, create a component with the same name and re-export the original component in the script tag. Then use the style tag to apply custom styles. Example can be found in the playground.

IMPORTANT: Never use styles in assets for customizing components because they will be loaded regardless if the component is used on the current page or not.

Complete Component

To customize a components template and script just create a component with the same name to override the original. Some components offer slots for customization so the original component can be imported and used if only the slot content has to be customized. Most components use composables so the script part can be easily reused. See T3CeTextmedia in playground for an example using slots.

Development

Use npm install to install dependencies. Change to ./playground directory and install dependencies as well. Add .env file to playground directory and set NUXT_PUBLIC_TYPO3_BASE_URL and NUXT_PUBLIC_TYPO3_API_BASE_URL. Then use npm run dev to start a dev server.

FAQs

Last updated on 25 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc