This application is made up of 3 seperate parts.
The app will have it's own component library to keep the look and feel the same through two front-ends
Followed the Tailwind Install guide for create-react-app.
Installed Tailwind Line Clamp using the following code
npm install @tailwindcss/line-clamp
Add the plugin and configure the Tailwind Config File
//tailwind.config.js
module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {},
},
variants: {
extend: {
scale: ["hover", "active"],
},
},
plugins: [require("@tailwindcss/line-clamp")],
};
This process was very similar to the guide above with minor changes
Followed the Tailwind Install guide for create-react-app.
Installed Tailwind Line Clamp using the following code
npm install @tailwindcss/line-clamp
Add the plugin and configure the Tailwind Config File
//tailwind.config.js
module.exports = {
purge: ["./src/**/*.{js,jsx,ts,tsx}", "./public/index.html"],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {},
},
variants: {
extend: {
scale: ["hover", "active"],
},
},
plugins: [require("@tailwindcss/line-clamp")],
};