chore: add project configuration and dependencies
- Add Nuxt 3 root component - Add Nuxt configuration - Add TypeScript configuration - Add project dependencies and lockfile - Add project documentation - Add gitignore rules - Add favicon Co-authored-by: Copilot <[email protected]>
This commit is contained in:
+24
@@ -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
|
||||
@@ -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.
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
<script setup lang="ts">
|
||||
|
||||
useSeoMeta({
|
||||
title: "Visione - UniBA",
|
||||
ogTitle: "Visione - UniBA",
|
||||
description: "Un'occhio per la sicurezza del cittadino.",
|
||||
ogDescription: "Un'occhio per la sicurezza del cittadino.",
|
||||
ogImage: "/favicon.png"
|
||||
});
|
||||
</script>
|
||||
<template>
|
||||
<NuxtLayout>
|
||||
<NuxtPage />
|
||||
</NuxtLayout>
|
||||
</template>
|
||||
@@ -0,0 +1,35 @@
|
||||
export default defineNuxtConfig({
|
||||
compatibilityDate: '2025-07-15',
|
||||
devtools: { enabled: true },
|
||||
modules: [
|
||||
'@nuxt/icon',
|
||||
'@nuxt/image',
|
||||
'@nuxt/fonts',
|
||||
'@nuxtjs/sitemap',
|
||||
'@nuxtjs/robots'
|
||||
],
|
||||
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
url: 'http://localhost:3000',
|
||||
api: 'http://localhost:5555',
|
||||
}
|
||||
},
|
||||
|
||||
site: {
|
||||
url: 'http://localhost:3000',
|
||||
name: 'Visione - Un\'occhio per la sicurezza del cittadino.',
|
||||
},
|
||||
|
||||
css: [
|
||||
'@/assets/css/style.css',
|
||||
'bootstrap-italia/dist/css/bootstrap-italia.min.css'
|
||||
],
|
||||
|
||||
fonts: {
|
||||
families: [
|
||||
{ name: 'Roboto Mono', provider: 'google' },
|
||||
{ name: 'Titillium Web', provider: 'google' }
|
||||
]
|
||||
}
|
||||
})
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "visione",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "nuxt build",
|
||||
"dev": "nuxt dev",
|
||||
"generate": "nuxt generate",
|
||||
"preview": "nuxt preview",
|
||||
"postinstall": "nuxt prepare"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nuxt/icon": "^2.2.3",
|
||||
"@nuxt/image": "^2.0.0",
|
||||
"@nuxtjs/robots": "6.0.9",
|
||||
"@nuxtjs/sitemap": "8.0.15",
|
||||
"bootstrap-italia": "^2.18.1",
|
||||
"nuxt": "^4.4.7",
|
||||
"vue": "^3.5.35",
|
||||
"vue-router": "^5.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxt/fonts": "^0.14.0"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user