feat: Initial @nuxtjs/seo setup
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { version } from "./package.json";
|
||||
import { version, description } from "./package.json";
|
||||
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
modules: ["@lewebsimple/nuxt-graphql", "@nuxt/ui", "nuxt-svgo"],
|
||||
modules: ["@lewebsimple/nuxt-graphql", "@nuxt/ui", "@nuxtjs/seo", "nuxt-svgo"],
|
||||
|
||||
compatibilityDate: "2026-03-18",
|
||||
devtools: { enabled: true },
|
||||
@@ -20,6 +20,14 @@ export default defineNuxtConfig({
|
||||
wpUrl: "",
|
||||
},
|
||||
|
||||
ogImage: { enabled: false },
|
||||
site: {
|
||||
name: description,
|
||||
url: "",
|
||||
},
|
||||
robots: { sitemap: `${process.env.NUXT_WP_URL}/sitemap_index.xml` },
|
||||
sitemap: false,
|
||||
|
||||
graphql: {
|
||||
client: {
|
||||
cache: {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "@lewebsimple/headless",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"description": "Headless WordPress theme based on Nuxt.",
|
||||
"description": "Headless",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build:nuxt": "nuxt build",
|
||||
@@ -21,6 +21,7 @@
|
||||
"@iconify-json/lucide": "^1.2.99",
|
||||
"@lewebsimple/nuxt-graphql": "^0.7.5",
|
||||
"@nuxt/ui": "^4.6.0",
|
||||
"@nuxtjs/seo": "^4.0.2",
|
||||
"nuxt": "^4.4.2",
|
||||
"nuxt-svgo": "^4.2.6",
|
||||
"tailwindcss": "^4.2.2",
|
||||
|
||||
1651
wp-content/themes/headless/pnpm-lock.yaml
generated
1651
wp-content/themes/headless/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -1,2 +0,0 @@
|
||||
User-Agent: *
|
||||
Disallow:
|
||||
Reference in New Issue
Block a user