Structure of the .env File

The .env.example file provides a sample of environment variables that can be configured for your project. These environment variables allow you to customize various aspects of your application, such as the base URL, image URLs, and other settings.

NUXT_ENV_BASE_URL:

  • Description: Base URL for your Invoice.

  • Example Value: https://some.dev/

NUXT_ENV_URL_LOGO:

  • Description: URL for the logo used in the Invoice.

  • Example Value: https://i.imgur.com/Os63UKo.gif

  • Note: Logo size should be between 60px and 150px in any format.

NUXT_ENV_URL_404:

  • Description: URL for the image shown on the 404 page (page not found).

  • Example Value: https://i.imgur.com/1P7Vxib.gif

NUXT_ENV_URL_MAIN_PAGE:

  • Description: URL for your application's main page.

  • Example Value: https://google.com

These environment variables allow you to customize your Invoice's appearance and behavior, offering flexibility and simple configuration.

Notes:

  • The logo size should be a minimum of 50px and a maximum of 60px in height, with a width not exceeding 200px.

  • Supported image formats: GIF, PNG, JPEG, SVG.

These environment variables enable you to customize the appearance and behavior of your Invoice, providing flexibility and ease of configuration.

Example file:

Last updated