Skip to content

Commit

Permalink
Add empty nuxt project
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolobok12309 committed Jan 21, 2024
1 parent 9d8efb7 commit ea7c134
Show file tree
Hide file tree
Showing 13 changed files with 3,508 additions and 177 deletions.
4 changes: 2 additions & 2 deletions apps/back/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
},
"engines": {
"node": "18.x",
"pnpm": "8.9.x"
"pnpm": "8.9.2"
},
"packageManager": "pnpm",
"packageManager": "pnpm@8.9.2",
"dependencies": {
"@hb/types": "workspace:*",
"@nestjs-modules/mailer": "^1.10.3",
Expand Down
24 changes: 24 additions & 0 deletions apps/front/.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
1 change: 1 addition & 0 deletions apps/front/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
shamefully-hoist=true
75 changes: 75 additions & 0 deletions apps/front/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Nuxt 3 Minimal Starter

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

## Setup

Make sure to install the 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 run dev

# yarn
yarn dev

# bun
bun run dev
```

## Production

Build the application for production:

```bash
# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build
```

Locally preview production build:

```bash
# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

# bun
bun run preview
```

Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
5 changes: 5 additions & 0 deletions apps/front/app.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<template>
<div>
<NuxtWelcome />
</div>
</template>
4 changes: 4 additions & 0 deletions apps/front/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true }
})
25 changes: 25 additions & 0 deletions apps/front/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"name": "@hb/front",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"dependencies": {
"@hb/types": "workspace:*"
},
"devDependencies": {
"nuxt": "^3.9.3",
"vue": "^3.4.14",
"vue-router": "^4.2.5"
},
"engines": {
"node": "18.x",
"pnpm": "8.9.2"
},
"packageManager": "[email protected]"
}
Binary file added apps/front/public/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions apps/front/server/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "../.nuxt/tsconfig.server.json"
}
4 changes: 4 additions & 0 deletions apps/front/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
// https://nuxt.com/docs/guide/concepts/typescript
"extends": "./.nuxt/tsconfig.json"
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
},
"engines": {
"node": "18.x",
"pnpm": "8.9.x"
"pnpm": "8.9.2"
},
"packageManager": "pnpm",
"packageManager": "pnpm@8.9.2",
"devDependencies": {
"cross-env": "^7.0.3"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
},
"engines": {
"node": "18.x",
"pnpm": "8.9.x"
"pnpm": "8.9.2"
},
"packageManager": "pnpm",
"packageManager": "pnpm@8.9.2",
"devDependencies": {
"rimraf": "^5.0.5",
"unbuild": "^2.0.0"
Expand Down
Loading

0 comments on commit ea7c134

Please sign in to comment.