Installation guide

Vue.js

1.Site analytics

  1. Open the site in Studio and copy the Embed snippet.
  2. Open index.html at the app root, or the shared layout component that wraps every route.
  3. Paste the snippet once before </body>.
  4. Build and deploy.
  5. Load a public route and confirm a visit in Site Analytics.

Avoid adding the script inside a per-page component that mounts more than once.

2.Blog

  1. Open the site in Studio and go to Settings β†’ Domain.
  2. Connect blog.yourdomain.com, add the CNAME Studio shows, then verify.
  3. In the app navigation, link Blog to https://blog.yourdomain.com.
  4. To render posts inside the Vue app instead, open Settings β†’ API and use the public list and post endpoints.