# portal-web-components

> This project is created using Direflow

Latest version **1.0.1** (published 2020-11-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install portal-web-components
pnpm add portal-web-components
yarn add portal-web-components
bun add portal-web-components
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-11-01 |
| First published | 2020-11-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 14 |
| Unpacked size | 290.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | mr_pirate |

## Links

- npm: https://www.npmjs.com/package/portal-web-components
- npm.io page: https://npm.io/package/portal-web-components

## Dependencies (14)

- [dayjs](https://npm.io/package/dayjs.md) ^1.9.3
- [react](https://npm.io/package/react.md) 16.13.1
- [react-dom](https://npm.io/package/react-dom.md) 16.13.1
- [@types/node](https://npm.io/package/@types/node.md) 12.7.8
- [@types/react](https://npm.io/package/@types/react.md) ^16.9.38
- [react-scripts](https://npm.io/package/react-scripts.md) 3.4.1
- [@types/react-dom](https://npm.io/package/@types/react-dom.md) 16.9.1
- [direflow-scripts](https://npm.io/package/direflow-scripts.md) 3.4.15
- [@ant-design/icons](https://npm.io/package/@ant-design/icons.md) ^4.2.1
- [styled-components](https://npm.io/package/styled-components.md) ^5.1.1
- [direflow-component](https://npm.io/package/direflow-component.md) 3.4.15
- [@jolt-us/common-types](https://npm.io/package/@jolt-us/common-types.md) ^0.3.9
- [@types/styled-components](https://npm.io/package/@types/styled-components.md) ^5.1.0
- [@jolt-us/apollo-client-signed](https://npm.io/package/@jolt-us/apollo-client-signed.md) ^0.0.1-rc

## Recent versions

- 1.0.1 (latest) — 2020-11-01

## README

This component was bootstrapped with [Direflow](https://direflow.io).

# Jolt Web Component
> This project is created using Direflow

to install just
` yarn add @jolt-us/web-components `

#### creating new web component: 
 - create a new folder `src/direflow-components/cool-component` * notice the syntax
 - create `index.tsx` file and inside write <br>
 ```typescript
    import createWebComponent from "../../GlobalComponents/setup/createWebComponent";
    import CoolComponent from "./CoolComponent";
    
    
    export default createWebComponent("cool-component", CoolComponent)
```
 - and that is it create your file `src/direflow-components/cool-component/CoolComponent.tsx` <br>
 and start develop your web-component.
 
 #### debugging:
 - notice there is a `public/index.html` file. this file is for debuging purposes.
 - just add inside the `body` `<body><cool-component /></body>` 
 - now run `yarn dev` and lok at `http://localhost:3020`
 this file is on git ignore so we can change it as we like.<br>
 _**if you do a change in that file that everyone should use.<br> 
 please remember to remove it from git ignore, commit it and put it again**_
 
 
 #### deployment
   - run `yarn build && yarn publish`
   - go to `jolt-public-web-app` and increase the npm dependency version.

---
_Source: https://npm.io/package/portal-web-components · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
