@aleph-front/core
v1.35.4
Published
A component library for Aleph Cloud frontends.
Readme
Aleph Cloud frontend core package
A component library for Aleph Cloud frontends.
Getting started
Set up font awesome in your local environment
Before start, obtain a valid package token and set the env var FONTAWESOME_NPM_AUTH_TOKEN
Follow this guide for configuring your local npm config.
Run Storybook
Components can be tested locally in Storybook.
npm install
npm run storybookKnown issues and workarounds
- Using
aleph-corewithNext.jsframework:- Problems with css
@importsyntax. You will need to manually import the font-face css from an url via<link>html element, or by creating afont.cssthat will contain the@importstatement and will be imported from the_app.tsxNext.js file - Problems with font awesome stylesheet. Follow this guide to solve it: https://fontawesome.com/docs/web/use-with/react/use-with#next-js
- Problems with css
We strongly recommend to use styled-components tailwind and twin.macro in your project
Follow this guide: https://github.com/ben-rogerson/twin.examples/tree/master/next-styled-components-typescript#getting-started
