Framework Guide

Vue.js Integration

Integrate Static Forms with your Vue.js application

Static Forms works great with Vue.js. This guide covers both Composition API (Vue 3) and Options API approaches.

Composition API (Vue 3)

Using Composition API with <script setup>:

VUE

Options API

Using Options API (Vue 2/3):

VUE

Environment Variables

Add your API key to environment variables:

Bash

Nuxt.js Integration

For Nuxt.js, use the same approach but access environment variables differently:

VUE