0.1.19 • Published 12 months ago

@makee/common-packages v0.1.19

Weekly downloads
-
License
-
Repository
-
Last release
12 months ago

Common web-component npm package

  • Insert IS_NEXTJS in your env file, if your are using this package in Nextjs project.

  • Import css from <package-name>/dist/styles/global.css in your root file.

  • Import env variables in your project, with environment prefixe REACT_APP_ or NEXT_PUBLIC_

KEYCLOAK_CLIENT_ID
KEYCLOAK_REALM_NAME
KEYCLOAK_URL
VERCEL_BASE_API
BASE_URL
  • Before publishing the package to npm, first run the build command npm run build or yarn build and change the package version in package.json.