프로젝트
GitHub에서 보기
thomasjohnkane/tailwind-alpine-chrome-extension
소개
Starter Kit for building a Web Extension with Tailwindcss & AlpineJS
웹 및 앱 개발What you can do
- It automatically puts tailwindcss.com into your project
- It automatically puts alpinejs into your project
- Hot reload (watches files and updates chrome)
- Cross browser support (Chrome & Firefox, Safari/Edge TBD)
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTailwind3/Alpine3 Web Extension Boilerplate
This is a starting place for building a Web Extension with Tailwindcss & Alpinejs
Basic Popup with Tailwind |
Alpine @click Works! |
Basic Options |
Installation
Setup local project
git clone [email protected]:thomasjohnkane/tailwind-alpine-chrome-extension.gitnpm i && npm run dev
Install on Chrome
- Navigate to
chrome://extensionsin Chrome; - Enable the Developer mode
- Click on Load unpacked extension (upper left nav)
- Upload the entire
extensionfolder
Why use this?
- It automatically puts tailwindcss.com into your project
- It automatically puts alpinejs into your project
- Hot reload (watches files and updates chrome)
- Cross browser support (Chrome & Firefox, Safari/Edge TBD)
- Provides basic
popup.html&options.html(embeded in settings page)
Goals of project
- Create a starting point for building web extensions
- Use alpine.js and tailwind.css
- Be cross browser (chrome, firefox, safari, edge?)
- Full DX path integrated
- Readme to set it up
- Watch script
- Env based config files
- Hot reloading (https://github.com/rubenspgcavalcante/webpack-extension-reloader)
- deploy script (create zip for submitting to store)
- Deploy instructions (per browser)
Roadmap
- Create folder structure
- Add webpack
- Make hello world work in dev
- Add Tailwindcss
- Add Alpinejs
- Add package.json build scripts
- Add hot reloading
- Add basic options.html page
- Handle sub views and routes for popup
- Add basic example of content.js
- Add basic example of background.js
- Update readme with instructions, etc
- Push to github
- Add build-zip script for deployment
- Tag release v1.0
Credit
- Thanks to Caleb Porzio for Alpinejs
- Thanks to Adam Watham for Tailwindcss
- Thanks to @rubenspgcavalcante for Webpack Extension Reload plugin
- Thanks to @Kocal, @EmailThis, and @williankeller for inspiration
Security
If you discover any security related issues, please email instead of using the issue tracker.
Contributing
- Fork it (https://github.com/thomasjohnkane/tailwind-alpine-chrome-extension/fork)
- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request
관련 프로젝트 살펴보기
불러오는 중…
Basic Popup with Tailwind
Alpine
Basic Options