Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions .github/workflows/ci-nuxt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: CI - Nuxt

on:
push:
branches: [main]
paths:
- 'packages/starter-nuxt/**'
- '.github/workflows/ci-nuxt.yml'
- 'package.json'
- 'pnpm-lock.yaml'
- 'eslint.config.js'
- 'prettier.config.js'
pull_request:
branches: [main]
paths:
- 'packages/starter-nuxt/**'
- '.github/workflows/ci-nuxt.yml'
- 'package.json'
- 'pnpm-lock.yaml'
- 'eslint.config.js'
- 'prettier.config.js'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '24'
cache: 'pnpm'

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Format check
run: pnpm --filter starter-nuxt format:check

- name: Lint
run: pnpm --filter starter-nuxt lint

- name: Type check
run: pnpm --filter starter-nuxt type-check

- name: Build
run: pnpm build:nuxt
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
"build:react-router": "pnpm --filter starter-react-router build",
"dev:tanstack": "pnpm --filter starter-tanstack-start-react dev",
"build:tanstack": "pnpm --filter starter-tanstack-start-react build",
"dev:nuxt": "pnpm --filter starter-nuxt dev",
"build:nuxt": "pnpm --filter starter-nuxt build",
"generate:stats": "pnpm --filter @framework-tracker/stats-generator generate",
"lint": "pnpm -r --parallel lint",
"lint:fix": "pnpm -r --parallel lint:fix",
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/src/content/stats/starter-next-js.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "Next JS",
"type": "starter-kit",
"prodDependencies": 3,
"devDependencies": 8,
"devDependencies": 6,
"npmGraphUrl": "https://npmgraph.js.org/?q=https://github.com/e18e/framework-tracker/blob/main/packages/starter-next-js/package.json"
}
7 changes: 7 additions & 0 deletions packages/docs/src/content/stats/starter-nuxt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "Nuxt",
"type": "starter-kit",
"prodDependencies": 3,
"devDependencies": 2,
"npmGraphUrl": "https://npmgraph.js.org/?q=https://github.com/e18e/framework-tracker/blob/main/packages/starter-nuxt/package.json"
}
2 changes: 1 addition & 1 deletion packages/docs/src/content/stats/starter-react-router.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "React Router",
"type": "starter-kit",
"prodDependencies": 6,
"devDependencies": 9,
"devDependencies": 8,
"npmGraphUrl": "https://npmgraph.js.org/?q=https://github.com/e18e/framework-tracker/blob/main/packages/starter-react-router/package.json"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "TanStack (React)",
"type": "starter-kit",
"prodDependencies": 13,
"devDependencies": 12,
"devDependencies": 11,
"npmGraphUrl": "https://npmgraph.js.org/?q=https://github.com/e18e/framework-tracker/blob/main/packages/starter-tanstack-start-react/package.json"
}
4 changes: 1 addition & 3 deletions packages/starter-next-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"eslint": "^9",
"eslint-config-next": "16.1.1",
"tailwindcss": "^4",
"typescript": "^5"
"tailwindcss": "^4"
}
}
24 changes: 24 additions & 0 deletions packages/starter-nuxt/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Nuxt dev/build outputs
.output
.data
.nuxt
.nitro
.cache
dist

# Node dependencies
node_modules

# Logs
logs
*.log

# Misc
.DS_Store
.fleet
.idea

# Local env files
.env
.env.*
!.env.example
75 changes: 75 additions & 0 deletions packages/starter-nuxt/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Nuxt Minimal Starter

Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.

## Setup

Make sure to install dependencies:

```bash
# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install
```

## Development Server

Start the development server on `http://localhost:3000`:

```bash
# npm
npm run dev

# pnpm
pnpm dev

# yarn
yarn dev

# bun
bun run dev
```

## Production

Build the application for production:

```bash
# npm
npm run build

# pnpm
pnpm build

# yarn
yarn build

# bun
bun run build
```

Locally preview production build:

```bash
# npm
npm run preview

# pnpm
pnpm preview

# yarn
yarn preview

# bun
bun run preview
```

Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
6 changes: 6 additions & 0 deletions packages/starter-nuxt/app/app.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<template>
<div>
<NuxtRouteAnnouncer />
<NuxtWelcome />
</div>
</template>
14 changes: 14 additions & 0 deletions packages/starter-nuxt/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// @ts-check
import rootConfig from '../../eslint.config.js'

export default [
{
ignores: [
'**/node_modules/**',
'**/.nuxt/**',
'**/.output/**',
'**/dist/**',
],
},
...rootConfig,
]
5 changes: 5 additions & 0 deletions packages/starter-nuxt/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
devtools: { enabled: true },
})
26 changes: 26 additions & 0 deletions packages/starter-nuxt/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "starter-nuxt",
"type": "module",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"type-check": "vue-tsc --noEmit --skipLibCheck",
"format": "prettier --write .",
"format:check": "prettier --check ."
},
"dependencies": {
"nuxt": "^4.2.2",
"vue": "^3.5.26",
"vue-router": "^4.6.4"
},
"devDependencies": {
"@types/node": "^22",
"vue-tsc": "^2"
}
}
Binary file added packages/starter-nuxt/public/favicon.ico
Binary file not shown.
2 changes: 2 additions & 0 deletions packages/starter-nuxt/public/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-Agent: *
Disallow:
18 changes: 18 additions & 0 deletions packages/starter-nuxt/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
// https://nuxt.com/docs/guide/concepts/typescript
"files": [],
"references": [
{
"path": "./.nuxt/tsconfig.app.json"
},
{
"path": "./.nuxt/tsconfig.server.json"
},
{
"path": "./.nuxt/tsconfig.shared.json"
},
{
"path": "./.nuxt/tsconfig.node.json"
}
]
}
1 change: 0 additions & 1 deletion packages/starter-react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"tailwindcss": "^4.1.13",
"typescript": "^5.9.2",
"vite": "^7.1.7",
"vite-tsconfig-paths": "^5.1.4"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/starter-react-router/tsconfig.tsbuildinfo

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion packages/starter-tanstack-start-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"@types/react-dom": "^19.2.0",
"@vitejs/plugin-react": "^5.0.4",
"jsdom": "^27.0.0",
"typescript": "^5.7.2",
"vite": "^7.1.7",
"vitest": "^3.0.5",
"web-vitals": "^5.1.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/starter-tanstack-start-react/tsconfig.tsbuildinfo

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions packages/stats-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"format:check": "prettier --check ."
},
"devDependencies": {
"@types/node": "^25.0.3",
"prettier": "^3.7.4"
"@types/node": "^25.0.3"
}
}
Loading
Loading