Skip to content

Alepepi/AleOCV

Repository files navigation

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Certainly! Here's your README content formatted in Markdown:

Installation

Install Tailwind CSS with Vite

Setting up Tailwind CSS in a Vite project.

Install Tailwind CSS

Install tailwindcss and its peer dependencies, then generate your tailwind.config.js and postcss.config.js files.

npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p

Add the Tailwind directives to your CSS

Add the @tailwind directives for each of Tailwind’s layers to your ./src/index.css file.

index.css

@tailwind base;
@tailwind components;
@tailwind utilities;

Start your build process

Run your build process with npm run dev.

Terminal

npm run dev

Reference in Tailwind CSS Docs

For React-icons

Installation (for standard modern project)

npm install react-icons --save

Reference in React-icons Docs

For Motion

npm install framer-motion

Reference in Framer Motion Docs

For Google Fonts

index.css

@import url("Respective font");

:root {
  font-family: "Inter", sans-serif;
}

This can change to:

  1. Go to Google Fonts
  2. Get font
  3. Get embed code
  4. Choose the web and @import
  5. Copy

Reference in Google Fonts Docs


Feel free to copy this Markdown content and use it in your project's README.md file.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published