@zvonimirko/react-components-template
v0.0.11
Published
A react component template
Readme
HOW TO SETUP - when using in project
Add this to .npmrc
@{group}:registry=https://gitlab.init.hr/api/v4/projects/${PROJECT_ID}/packages/npm/
//gitlab.init.hr/api/v4/projects/${PROJECT_ID}/packages/npm/:_authToken=${YOUR_AUTH_TOKEN}
Dependencies
- Install react-hook-forms
- Install clsx
- Install tailwind
- Install tailwind form plugin
- Add taiwlind conf as this:
/** @type {import('tailwindcss').Config} */ module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}', 'node_modules/@init/**/*.{js,jsx,ts,tsx'],
theme: { extend: {} },
plugins: [require('@tailwindcss/forms')],
};- Install tailwind-merge
