0.3.9 • Published 1 year ago

@oclock/crumble v0.3.9

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
1 year ago

Crumble

Bibliothèque de composant UI (React), réutilisable, permettant la création des différents produits Slippers, de façon unifiés.

Crumble banner

🎨 À propos

📦 Installation

yarn add @oclock/crumble

⛏ Utilisation

import { Button } from '@oclock/crumble';

const App = (props) => (
  <Button
    type="button"
    variant="primary"
    onClick={(event) => console.log('Clicked')}
  >
    Click me
  </Button>
);

Également, n'oubliez pas d'importer le fichier de style

import '@oclock/crumble/dist/css/styles.css';

⌨️ Développement

  1. yarn install
  2. yarn run dev

Bonus, extensions VSCode

Utiliser Crumble localement, dans un autre projet React.

Installation
$ npm i yalc -g
Utilisation
$ # Build and publish on YALC workflow
$ cd Crumble
$ yarn build:all && yalc publish

$ # Now it's ready to install in your project
$ cd ../your-react-project
$ yalc add @oclock/crumble --yarn

$ # If you do some changes into your package
$ cd ../Crumble
$ yarn build:all && yalc publish --push --sig # --push will automatically update the package on projects where it have been added, --sig updates the signature hash to trigger webpack update

:warning: yalc crée un yalc.lock et met également à jour le package.json dans le projet où on utilise notre module, localement. Il faut faire attention de ne pas commit ces changements.

📍 Build

  • Build le code JSX : yarn build:js
  • Build le bundle CSS : yarn build:css

🤝 Contribution

Se baser sur CONTRIBUTING.md.

0.3.9

1 year ago

0.3.6

3 years ago

0.3.8

3 years ago

0.3.7

3 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.1

4 years ago

0.2.6

3 years ago

0.2.3

3 years ago

0.2.2

4 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.1.21

4 years ago

0.1.20

4 years ago

0.1.19

4 years ago

0.1.18

4 years ago

0.1.16

4 years ago

0.1.15

4 years ago

0.1.14

4 years ago

0.1.13

4 years ago

0.1.12

4 years ago

0.1.11

4 years ago

0.1.10

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago