@athenajs/react-utils
TypeScript icon, indicating that this package has built-in type declarations

0.2.10 • Public • Published

@athenajs/react-utils

Includes a Dockerfile to serve your Vite-built React app, using pnpm. It enables environment variable interpolation at container creation, instead of when the React app (and/or Docker image) is built. All you have to do is refer to the Dockerfile: docker build -f node_modules/@athenajs/react-utils/Dockerfile

Make sure to include a .env.example file, from which environment variables are inferred and provided in the React app as body attributes. getConfigFromAttributes() provides access to the values at runtime.

Readme

Keywords

none

Package Sidebar

Install

npm i @athenajs/react-utils

Weekly Downloads

33

Version

0.2.10

License

MIT

Unpacked Size

88.3 kB

Total Files

16

Last publish

Collaborators

  • aldahick