mirror of
https://github.com/BlossomiShymae/clean-cuts.git
synced 2025-12-06 10:10:47 +01:00
Init commit
This commit is contained in:
62
nuxt.config.ts
Normal file
62
nuxt.config.ts
Normal file
@@ -0,0 +1,62 @@
|
||||
import path from "path";
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
|
||||
export default defineNuxtConfig({
|
||||
devtools: { enabled: true },
|
||||
nitro: {
|
||||
output: {
|
||||
publicDir: path.join(__dirname, "docs"),
|
||||
},
|
||||
},
|
||||
app: {
|
||||
pageTransition: {
|
||||
name: "page",
|
||||
mode: "out-in",
|
||||
},
|
||||
layoutTransition: {
|
||||
name: "layout",
|
||||
mode: "out-in",
|
||||
},
|
||||
head: {
|
||||
htmlAttrs: {
|
||||
"data-bs-theme": "dark",
|
||||
"style": "background-image: url('https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/champion-splashes/498/498004.jpg');"
|
||||
},
|
||||
bodyAttrs: {
|
||||
class: "h-100"
|
||||
},
|
||||
meta: [
|
||||
{ name: "viewport", content: "width=device-width, initial-scale=1" },
|
||||
],
|
||||
link: [
|
||||
{
|
||||
rel: "stylesheet",
|
||||
href: "https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css",
|
||||
integrity:
|
||||
"sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM",
|
||||
crossorigin: "anonymous",
|
||||
},
|
||||
{
|
||||
rel: "stylesheet",
|
||||
href: "/css/app.css",
|
||||
},
|
||||
{
|
||||
rel: "icon",
|
||||
type: "image/png",
|
||||
href: "/favicon.png",
|
||||
},
|
||||
],
|
||||
script: [
|
||||
{
|
||||
src: "https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js",
|
||||
integrity:
|
||||
"sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz",
|
||||
crossorigin: "anonymous",
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
experimental: {
|
||||
payloadExtraction: false,
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user