@tepachelabs/components
v0.2.9
Published
Components for Tepachelabs
Readme
Tepachelabs Component
This is an internal library for Tepachelabs.
Installation
npm install @tepachelabs/componentsUsage
- You require to import this css file into your project root.
import '@tepachelabs/components/dist/css/min.css'- Importing components into your project.
// How to import components?
import { Footer } from '@tepachelabs/components'
export default function Home() {
return (
<html>
...
<Footer />
</html>
)
}Running project locally
# Clone repo
[email protected]:tepachelabs/tepache-components.git
# Access folder
cd tepache-components
# Install modules
npm install
# Run storybook
npm run storybook
After runnning the commands you should be seeing storybook running on http://localhost:6006/
Contribuiting
- Whenever you make changes to this project (commit changes) a new build is created
/distfolder. - When you try to commit our
pre-commithook is triggered and will create the new/distfolder and will update the package.json. - If you have access to this repo's npm package just run the following command:
npm public --access public