Set up a basic app with Vue.js
In this tutorial you set up a basic app and add it to the App Store. You’ll learn how to set up the app and its widgets, authenticate, and communicate with the API.
We use the Vue 3 Composition API with Vite in this example.
Prerequisites
Section titled “Prerequisites”- A basic knowledge of Git. We work with the GitHub CLI.
- npm, to install the dependencies of the GitHub repository on your machine. Install npm
Install
Section titled “Install”Clone the basic app Git repository to your local machine:
git clone https://github.com/CampingCare/basic-app-vue.git
cd basic-app-vue/Install the node modules with npm:
npm installStart the development server
Section titled “Start the development server”Next, start your development server:
npm run devThe application now runs on your machine, at something like http://localhost:5173/. You’ll see the default app URL page, which looks like this:

Create the app in the App Store
Section titled “Create the app in the App Store”Go to the App Store and create a new app. Open the App Store

Widgets
Section titled “Widgets”This app supports a default app URL and several widgets. Set it up like this:

Webhooks
Section titled “Webhooks”This example doesn’t use webhooks. For an example with webhooks, see the PHP basic app or the webhooks documentation.
Rights and scopes
Section titled “Rights and scopes”This app doesn’t need any extra scopes. For an example with scopes, see the PHP basic app or the scopes documentation.
Once you’ve set this up, save the app and you’ll be redirected to the app page.
Install the app
Section titled “Install the app”To test the app, install it after you’ve saved it. Read more about the install process
After installing the app you’ll see this screen:

That’s it: your basic app works.
Go live
Section titled “Go live”The last step is to upload your application to a public host. This can be any hosting company or cloud platform you prefer. For a single-page application like this one, Firebase Hosting might suit you.