Skip to content

Commit

Permalink
add robots and sitemap packages
Browse files Browse the repository at this point in the history
  • Loading branch information
probablyjassin committed Nov 24, 2024
1 parent e746402 commit 40f96b2
Show file tree
Hide file tree
Showing 4 changed files with 210 additions and 32 deletions.
69 changes: 40 additions & 29 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,35 +1,46 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: false },
compatibilityDate: "2024-11-21",
devtools: { enabled: false },
compatibilityDate: "2024-11-21",

modules: ["@nuxt/content", "@nuxtjs/tailwindcss", "shadcn-nuxt", "@nuxt/icon", "@nuxthq/studio", "@nuxt/image"],
css: ["~/assets/css/main.css"],
modules: [
"@nuxt/content",
"@nuxtjs/tailwindcss",
"shadcn-nuxt",
"@nuxt/icon",
"@nuxthq/studio",
"@nuxt/image",
"@nuxtjs/sitemap",
"@nuxtjs/robots",
],
css: ["~/assets/css/main.css"],

postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},

content: {
documentDriven: true,
highlight: {
theme: "github-dark",
preload: ["vue", "typescript", "javascript", "bash", "python", "json", "yml"],
},
},
content: {
documentDriven: true,
highlight: {
theme: "github-dark",
preload: ["vue", "typescript", "javascript", "bash", "python", "json", "yml"],
},
},

shadcn: {
/**
* Prefix for all the imported component
*/
prefix: "",
/**
* Directory that the component lives in.
* @default "./components/ui"
*/
componentDir: "./components/ui",
},
});
shadcn: {
/**
* Prefix for all the imported component
*/
prefix: "",
/**
* Directory that the component lives in.
* @default "./components/ui"
*/
componentDir: "./components/ui",
},

site: { url: "https://jassin.aouani.de", name: "probablyjassin - Coding and Blogging" },
});
168 changes: 168 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"@nuxt/icon": "^1.8.2",
"@nuxt/image": "^1.8.1",
"@nuxthq/studio": "^2.2.1",
"@nuxtjs/robots": "^5.0.0",
"@nuxtjs/sitemap": "^7.0.0",
"@nuxtjs/tailwindcss": "^6.12.2",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
Expand Down
3 changes: 0 additions & 3 deletions public/robots.txt

This file was deleted.

0 comments on commit 40f96b2

Please sign in to comment.