Files
gh-jamshu-jamshi-marketplac…/commands/new-vue-pwa.md
2025-11-29 18:50:06 +08:00

1.5 KiB

Generate a new offline-first Progressive Web App using Vue framework with Odoo Studio backend integration.

What this command does:

  • Invokes the create-odoo-pwa skill with Vue as the framework
  • Generates a complete PWA project with smart caching, offline support, and Odoo integration
  • Creates all necessary configuration files, components, composables, and deployment setups

Required Information:

Before starting, gather:

  1. Project name (kebab-case, e.g., "expense-tracker", "inventory-manager")
  2. Odoo model name (without x_ prefix, e.g., "expense", "inventory")
  3. Model display name (human-readable, e.g., "Expense", "Inventory Item")
  4. Deployment target (optional: vercel, github, cloudflare, netlify)

Steps:

  1. Ask the user for the required information listed above
  2. Invoke the create-odoo-pwa skill with framework set to "vue"
  3. Generate the complete Vue PWA project structure
  4. Create comprehensive documentation (README.md, CLAUDE.md, API.md)
  5. Provide next steps for setup and deployment

Example prompts to use this command:

  • /new-vue-pwa - Interactive mode, will ask for all parameters
  • User: "Create a Vue PWA for tracking expenses with Odoo"
  • User: "Generate an inventory management app using Vue and Odoo Studio"

After generation:

Remind the user to:

  1. Navigate to the project directory
  2. Copy .env.example to .env and configure Odoo credentials
  3. Run npm install to install dependencies
  4. Run npm run dev to start development server
  5. Test the Odoo connection and sync functionality