---
title: "Templates"
description: "Start a new app from the minimal starter, or from the playground example that runs every core feature."
canonical_url: "https://nuxt-convex-module.dev/getting-started/templates"
---
# Templates

> Start a new app from the minimal starter, or from the playground example that runs every core feature.

Two ready-made apps you can create with `create nuxt`. Both run against a Convex deployment of your own.

## Starter

A minimal Nuxt app with the module installed and one Convex table: a welcome page with a message board that renders on the server and updates live in every open tab. Its look is one stylesheet, `app/assets/css/main.css`, to change or delete.

<pm-create template="gh:qruto/nuxt-convex-module/templates/starter">

```bash [pnpm]
pnpm create nuxt@latest my-app -t gh:qruto/nuxt-convex-module/templates/starter
```

```bash [npm]
npm create nuxt@latest my-app -- -t gh:qruto/nuxt-convex-module/templates/starter
```

```bash [yarn]
yarn create nuxt my-app -t gh:qruto/nuxt-convex-module/templates/starter
```

```bash [bun]
bun create nuxt@latest my-app --template=gh:qruto/nuxt-convex-module/templates/starter
```

</pm-create>

Then start it with the `dev` script, as described in [Run](https://nuxt-convex-module.dev/getting-started/installation#run). The app's functions are in `convex/messages.ts`, the board that calls them is `app/components/Messages.vue`, the page is `app/app.vue`, and `convex/_generated` is included so the app type-checks before the first run. [View the source](https://github.com/qruto/nuxt-convex-module/tree/main/templates/starter).

## Example: playground

One page that runs every core feature, one click each, in this site's design: live queries, mutations with optimistic updates, cursor pagination, file storage, actions, and server rendering with `fetchQuery`.

<pm-create template="gh:qruto/nuxt-convex-module/examples/playground">

```bash [pnpm]
pnpm create nuxt@latest my-app -t gh:qruto/nuxt-convex-module/examples/playground
```

```bash [npm]
npm create nuxt@latest my-app -- -t gh:qruto/nuxt-convex-module/examples/playground
```

```bash [yarn]
yarn create nuxt my-app -t gh:qruto/nuxt-convex-module/examples/playground
```

```bash [bun]
bun create nuxt@latest my-app --template=gh:qruto/nuxt-convex-module/examples/playground
```

</pm-create>

It is also the app behind the **Open in StackBlitz** link on every pull request. [View the source](https://github.com/qruto/nuxt-convex-module/tree/main/examples/playground).


## Sitemap

See the full [sitemap](https://nuxt-convex-module.dev/sitemap.md) for all pages.
