@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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.10
0latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.10
0
0.2.9
0
0.2.8
0
0.2.7
0
0.2.6
0
0.2.5
0
0.2.4
0
0.2.3
0
0.2.2
0
0.2.1
0
0.2.0
0
0.1.13
0
0.1.12
0
0.1.11
0
0.1.10
0
0.1.9
0
0.1.8
0
0.1.7
0
0.1.6
0
0.1.5
0
0.1.4
0
0.1.3
0
0.1.2
0
0.1.10

Package Sidebar

Install

npm i @athenajs/react-utils

Weekly Downloads

0

Version

0.2.10

License

MIT

Unpacked Size

88.3 kB

Total Files

16

Last publish

Collaborators

  • aldahick