Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 3970b9b

Browse files
committed
Reproduction
1 parent edff46b commit 3970b9b

File tree

10 files changed

+9335
-0
lines changed

10 files changed

+9335
-0
lines changed

README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Nuxt 3 Minimal Starter
2+
3+
Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
4+
5+
## Setup
6+
7+
Make sure to install the dependencies:
8+
9+
```bash
10+
# yarn
11+
yarn install
12+
13+
# npm
14+
npm install
15+
16+
# pnpm
17+
pnpm install
18+
```
19+
20+
## Development Server
21+
22+
Start the development server on http://localhost:3000
23+
24+
```bash
25+
npm run dev
26+
```
27+
28+
## Production
29+
30+
Build the application for production:
31+
32+
```bash
33+
npm run build
34+
```
35+
36+
Locally preview production build:
37+
38+
```bash
39+
npm run preview
40+
```
41+
42+
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.

app.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<template>
2+
<h1 class="text-3xl font-bold underline">Hello world!</h1>
3+
<div class="bg-black w-5 h-5 rounded-full"></div>
4+
</template>

assets/css/main.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import 'tailwindcss';

nuxt.config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import tailwindcss from '@tailwindcss/vite';
2+
3+
// https://nuxt.com/docs/api/configuration/nuxt-config
4+
export default defineNuxtConfig({
5+
compatibilityDate: '2024-04-03',
6+
devtools: { enabled: false },
7+
css: ['~/assets/css/main.css'],
8+
vite: {
9+
plugins: [tailwindcss()],
10+
},
11+
});

0 commit comments

Comments
 (0)