EgdeConsulting / egde-components

https://egdeconsulting.github.io/egde-components/
MIT License
5 stars 1 forks source link

Setup Egde-UI npm package #302

Open TobiasGunther opened 2 years ago

TobiasGunther commented 2 years ago

Valuable resource:

TobiasGunther commented 2 years ago

All of the npm packages (egde-components, egde-icons, egde-styles and egde-types) where published on a private account (https://www.npmjs.com/package/egde-components). This was done in regard to testing the installation and use of the egde-components package.

The installation of the package (npm i egde-components) works without issues in a standard react & typescript project (npx create-react-app my-app --template typescript). One can also use components from the package, and they are being handled correctly (see image below), but when trying to run the application some loaders are apparently missing.

image

image

Contact me for deletion of the npm packages from my private npm account (so the package names are released again).

TobiasGunther commented 2 years ago

The current status for this issue is that a working version of the egde-components npm-package is available on my private account (https://www.npmjs.com/package/egde-components). Installing this package in a new React + Typescript App will make all Form-components (As requested by Kjetil) available for use. BUT!!!!! currently custom styling doesn't work correctly (only parts of the styling are working). See the images below for more information.

image

image

image

Also before running the command yarn rollup delete all the files inside the dist directory (excluding README.md).