54 lines
1.0 KiB
Markdown
54 lines
1.0 KiB
Markdown
|
## Download library component Tailwind CSS
|
||
|
npm i preline
|
||
|
|
||
|
## tailwind.config.js
|
||
|
module.exports = {
|
||
|
content: [
|
||
|
// './src/**/*.{html,js}',
|
||
|
'node_modules/preline/dist/*.js',
|
||
|
],
|
||
|
plugins: [
|
||
|
// require('@tailwindcss/forms'),
|
||
|
require('preline/plugin'),
|
||
|
],
|
||
|
}
|
||
|
|
||
|
## index.html
|
||
|
<script src="./node_modules/preline/dist/preline.js"></script>
|
||
|
|
||
|
--------------------------------------------------------------------------
|
||
|
|
||
|
## Download react icon
|
||
|
npm install react-icons --save
|
||
|
|
||
|
--------------------------------------------------------------------------
|
||
|
|
||
|
## Download react dom
|
||
|
npm install react-router-dom
|
||
|
|
||
|
--------------------------------------------------------------------------
|
||
|
|
||
|
## Scrollbar Hide
|
||
|
npm install tailwind-scrollbar-hide
|
||
|
|
||
|
## tailwind.config.js
|
||
|
plugins: [
|
||
|
require('tailwind-scrollbar-hide')
|
||
|
],
|
||
|
|
||
|
---------------------------------------------------------------------------
|
||
|
|
||
|
npm i -D daisyui@latest
|
||
|
|
||
|
plugins: [
|
||
|
require('daisyui'),
|
||
|
],
|
||
|
|
||
|
|
||
|
npm install react-chartjs-2 chart.js
|
||
|
|
||
|
npm i react-otp-input
|
||
|
|
||
|
|
||
|
## Run project
|
||
|
npm install
|