Get your app running locally
How to get your app running on your local environment
Monterosa / Interaction SDK is tool-agnostic. For simplicity we will be using Vite as a building tool but you can select your preferred tool such as rollup, webpack parcel or esbuild.
Let's start by creating a folder for the app and navigating into it:
Next, let's initialise the project:
Then, proceed to install Vite:
Create an index.html
file in the root directory with the following content:
And an empty JS in src/main.js
.
Now update package.json
to add the development and build scripts and to change its type to module:
You can now launch the app for the first time:
Upon execution, you should see an output like so (please note that your Vite version may vary):
By accessing http://localhost:5173/
, you can verify that our project template is successfully operational.
Last updated