/home-ng

Primary LanguageJavaScript

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:

using vite

npm create vite@latest

to start a local host

npm install npm run dev

to use aos in react

we need to follow this major steps

install the package

npm install --save aos@next

to initialize AOS

import React,{useEffect} from "react"; import AOS from 'aos'; import 'aos/dist/aos.css';

next add it to your react export default function

useEffect(() => { AOS.init(); }, [])

install tailwind

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

install react icons

npm install react-icons --save