Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@graphcommerce/lingui-next

Package Overview
Dependencies
Maintainers
0
Versions
540
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphcommerce/lingui-next

This package adds lingui to GraphCommerce

  • 9.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@graphcommerce/lingui-next

This package adds lingui to GraphCommerce

Installation

  1. Create a lingui.config.js with the lingui config. example
  2. Add <LinguiProvider/> to your pages/_app.tsx file example
  3. Wrap you static getInitialProps with linguiWrapGetInitialProps in to your pages/_document.tsx file example
  4. Run NODE_ENV=development yarn lingui extract to extact messages for your locale.

Configuration

Configure the following (configuration values) in your graphcommerce.config.js

Extracting messages

Run NODE_ENV=development yarn lingui extract

FAQs

Package last updated on 31 Dec 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc