Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 1.14 KB

README.md

File metadata and controls

32 lines (18 loc) · 1.14 KB

Blank Vue 3 template (Vite)

Shopware Frontends

This repository shows an example of application built with Shopware Frontends Framework on Vue 3 (Vite).

What's inside

  • Vue 3 application
  • Required libraries installed (api-client, composables, Vue 3 plugin)
  • Minimum configuration of Vue 3 plugin (see ShopwareFrontendsOptions in main.ts)

Requirements

Go to Documentation > Requirements to see the details.

Set up your Shopware 6 instance

In order to have a different API connect to the app, change the API access information in .env.local file. Then rerun the application.

Customize

Now, you are free to use the @shopware-pwa/composables-next package in the application. You can start from src/App.vue.

Install & Run

  1. pnpm i to install deps
  2. pnpm dev to run the project in dev mode

Try it online

Open in StackBlitz