Check if Node.js is installed by running: node -v.
If not installed, download and install it from https://nodejs.org.
Run: npx nuxi@latest init nuxt-tetrons-app
Navigate into project folder: cd nuxt-tetrons-app
Install dependencies: npm install
Run: npm run dev
Open your browser at: http://localhost:3000
Create a new file: pages/editor.vue or add where you require the editor
Paste the provided iframe code to embed the Tetrons Editor.
1<template>
2 <iframe
3 id="tetrons-iframe"
4 src="https://product.tetrons.com/embed"
5 style="width:100%; height:100vh; border:none;"
6 allow="clipboard-read; clipboard-write; microphone; camera"
7 ></iframe>
8</template>Visit: http://localhost:3000/editor in your browser.
You should see the embedded Tetrons Editor.
Install Tailwind CSS using: npx nuxi@latest add tailwind
Run: npm install
Restart dev server to apply Tailwind to your app.
