index-html
Generates index.html as the application entry point. Includes meta tags, favicon links, and root div for Vue app mounting.
When & Why to Use This Skill
The index-html skill automates the creation of a professional, production-ready index.html entry point for web applications, specifically optimized for Vue.js environments. It streamlines frontend development by generating essential boilerplate code, including SEO-friendly meta tags, responsive viewport configurations, PWA-ready manifest links, and comprehensive favicon support for various devices.
Use Cases
- Project Initialization: Rapidly generating the primary entry point for new Vue.js or Vite-based web applications with all necessary mounting points.
- SEO and Social Optimization: Automatically injecting critical meta tags and title configurations to improve search engine visibility and social sharing previews.
- PWA Setup: Establishing the foundation for Progressive Web Apps by including manifest links and multi-resolution icon sets for mobile home screens.
- Cross-Browser Compatibility: Ensuring consistent performance across legacy and modern browsers with IE edge mode tags and noscript fallbacks.
| name | index-html |
|---|---|
| description | Generates index.html as the application entry point. Includes meta tags, favicon links, and root div for Vue app mounting. |
Index HTML Skill
Purpose
Generate the index.html file as the entry point for the application.
Input Parameters
application_title: The application title for the page title (e.g., "Inventory Manager")
Output
Create the file: index.html
Template
See: examples.md in this directory for complete template and detailed examples.
Notes
- HTML entry point for the Vue application
- Includes multiple favicon sizes for different devices
- Progressive Web App (PWA) ready with manifest link
- IE compatibility meta tag for edge cases
- Responsive viewport meta tag for mobile devices
- Noscript message for users without JavaScript
- The #app div is where Vue mounts the application
- Vite automatically injects built files during development and production