a11y-widget-install
v1.0.0
Published
Install AI Accessibility Widget on any website - one command
Downloads
111
Maintainers
Readme
a11y-widget-install
Client ki website par accessibility widget install karne ke liye – ek command.
Client Ko Dene Wala Command
Option 1: npx (agar npm par publish ho)
npx a11y-widget-installClient apni website project folder mein run karein (jahan index.html hai).
Option 2: Local (installer folder dein)
- Pehle widget build karein:
cd "Z:\Shakeel\AI-Powered Accessibility Assistant"
npm run build:installerinstallerfolder client ko dein (zip karke)Client apni project folder mein
installercopy karein, phir run karein:
node installer/cli.jsOption 3: Root se (aapke project se client ki project mein)
Client ki website folder mein jao, phir:
node "Z:\Shakeel\AI-Powered Accessibility Assistant\installer\cli.js"(Yeh tab kaam karega jab widget pehle build ho chuka ho)
Kya Hota Hai
- Widget file (
a11y-widget.iife.js) client ki project mein copy hoti hai (public/ya root) index.html(yapublic/index.html) mein script tag add ho jata hai- Done – page refresh par ♿ button dikhega
Requirements
- Node.js (client ke paas hona chahiye)
- Project mein
index.htmlyapublic/index.html
