JSPM

strapi-change-title

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 43
  • Score
    100M100P100Q70312F
  • License ISC

Automatically changes the title of the Strapi admin panel based on environment variable

Package Exports

  • strapi-change-title
  • strapi-change-title/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (strapi-change-title) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Strapi Change Title

An npm package to change the Strapi admin panel title.

Installation

# npm
npm install --save-dev strapi-change-title

# yarn
yarn add -D strapi-change-title

# pnpm
pnpm add -D strapi-change-title

# bun
bun add -D strapi-change-title
  1. Add this to your package.json:

    {
      "scripts": {
        "postinstall": "npx strapi-change-title"
      }
    }
  2. Create a .env file in your project root with:

    STRAPI_ADMIN_TITLE="My Custom Strapi"
  3. The package will automatically change the title of the Strapi admin panel in both development and production environments.

Dependencies

  • Node.js
  • npm or yarn
  • dotenv