المشاريع
عرض على GitHub
5tigerjelly/chrome-extension-react-template
حول
Ready to use Chrome extension template with React Typescript + Vite
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلReact Chrome Extension Template
This is a template for creating a Chrome extension using React and Vite with TypeScript.
Getting Started
Prerequisites
Make sure you have Node.js (version 18+ or 20+) installed on your machine.
Setup
Clone or fork the repository :
# To clone git clone https://github.com/5tigerjelly/chrome-extension-react-template cd chrome-extension-react-templateInstall the dependencies:
npm install
🏗️ Development
To start the development server:
npm run dev
This will start the Vite development server and open your default browser.
📦 Build
To create a production build:
npm run build
This will generate the build files in the build directory.
📂 Load Extension in Chrome
- Open Chrome and navigate to
chrome://extensions/. - Enable "Developer mode" using the toggle switch in the top right corner.
- Click "Load unpacked" and select the
builddirectory.
Your React app should now be loaded as a Chrome extension!
🗂️ Project Structure
public/: Contains static files and themanifest.json.src/: Contains the React app source code.vite.config.ts: Vite configuration file.tsconfig.json: TypeScript configuration file.package.json: Contains the project dependencies and scripts.
License
This project is licensed under the MIT License.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…