\n\n const googleMapsApiKey = process.env.NUXT_GOOGLE_MAPS_API_KEY;\n\n\nbut this doesnt work? When i use my api key directly in the file it works. But putting it in the .env i wont load the map? I thought placing your api key is not secure? Already asked chatgpt but no solution. \n\n\n\n### 🔍 What have you tried?\n\nI looked at the docs. Nothing about it. I tried chatgpt and different solutions nothing works. \n\n### ℹ️ Additional context\n\n_No response_",[1984],{"name":1985,"color":1986},"documentation","0075ca",313,"nuxt","scripts","open","Using the googlemaps api key?","2024-11-11T03:54:14Z","https://github.com/nuxt/scripts/issues/313",0.7824339,{"description":1996,"labels":1997,"number":2001,"owner":1988,"repository":2002,"state":2003,"title":2004,"updated_at":2005,"url":2006,"score":2007},"- [x] Styling with custom theme\n- [x] Components => #321 \n- [x] Tooltips over content",[1998],{"name":1999,"color":2000},"enhancement","1ad6ff",265,"nuxt.com","closed","Milkdown editor improvements","2023-06-06T12:14:50Z","https://github.com/nuxt/nuxt.com/issues/265",0.4447003,{"description":2009,"labels":2010,"number":2014,"owner":1988,"repository":2002,"state":2003,"title":2015,"updated_at":2016,"url":2017,"score":2018},"",[2011],{"name":2012,"color":2013},"bug","ff281a",124,"Milkdown editor only works in dark mode","2023-06-06T12:14:49Z","https://github.com/nuxt/nuxt.com/issues/124",0.70657957,{"description":2009,"labels":2020,"number":2022,"owner":1988,"repository":2002,"state":2003,"title":2023,"updated_at":2024,"url":2025,"score":2026},[2021],{"name":1999,"color":2000},497,"[Milkdown] Replace Prism by Shiki to have the code highlight as in `@nuxt/content`","2023-06-06T12:14:53Z","https://github.com/nuxt/nuxt.com/issues/497",0.7177249,{"description":2028,"labels":2029,"number":2022,"owner":1988,"repository":2033,"state":2003,"title":2034,"updated_at":2035,"url":2036,"score":2026},"**Non-blocking bug**\r\n\r\nIn our project, we imported tailwind.css, for test env, I use CDN way to load tailwind. `nuxt.config.ts`:\r\n```\r\n app: {\r\n head: {\r\n script: [\r\n {\r\n src: 'https://cdn.tailwindcss.com'\r\n }\r\n ]\r\n }\r\n }\r\n```\r\nIn dev mode, it actually behaver:\r\n1, request `https://cdn.tailwindcss.com` get: status code: `302`, http header location: `3.2.4`\r\n2, request `https://cdn.tailwindcss.com/3.2.4`\r\n\r\n```\r\nTypeError: Invalid URL\r\n at new NodeError (node:internal/errors:393:5)\r\n at URL.onParseError (node:internal/url:565:9)\r\n at new URL (node:internal/url:645:5)\r\n at Function.getAbsoluteURL (xxx\\node_modules\\happy-dom\\lib\\location\\RelativeURL.ts:16:16)\r\n at XMLHttpRequest._sendSyncRequest (xxx\\node_modules\\happy-dom\\src\\xml-http-request\\XMLHttpRequest.ts:618:45)\r\n at XMLHttpRequest.send (xxx\\node_modules\\happy-dom\\src\\xml-http-request\\XMLHttpRequest.ts:472:9)\r\n at Function.fetchSync (xxx\\node_modules\\happy-dom\\src\\fetch\\ResourceFetchHandler.ts:39:7)\r\n at Function.loadExternalScript (xxx\\node_modules\\happy-dom\\src\\nodes\\html-script-element\\ScriptUtility.ts:63:5)\r\n at HTMLScriptElement._connectToNode (xxx\\node_modules\\happy-dom\\src\\nodes\\html-script-element\\HTMLScriptElement.ts:195:19)\r\n at HTMLElement.appendChild (xxx\\node_modules\\happy-dom\\src\\nodes\\node\\Node.ts:326:16) {\r\n input: '/3.2.4',\r\n code: 'ERR_INVALID_URL'\r\n}\r\n```\r\n\r\n",[2030],{"name":2031,"color":2032},"vitest-environment","b60205","test-utils","http redirect cause an Invalid URL error.","2023-12-05T17:00:37Z","https://github.com/nuxt/test-utils/issues/497",{"description":2038,"labels":2039,"number":2041,"owner":1988,"repository":2002,"state":2003,"title":2042,"updated_at":2043,"url":2044,"score":2045},"\n",[2040],{"name":1999,"color":2000},436,"[Milkdown] Improve components props display","2022-05-13T16:14:50Z","https://github.com/nuxt/nuxt.com/issues/436",0.7215288,{"description":2047,"labels":2048,"number":2049,"owner":1988,"repository":2002,"state":2003,"title":2050,"updated_at":2051,"url":2052,"score":2053},"In `content/` we should be able to edit the front-matter props not handled in Milkdown.\n\nBlocked by nuxtlabs/nuxt.com#172\n\nEx: https://github.com/docusgen/docus.com/blob/dev/components/templates/project/editor/ProjectEditorContentProps.vue",[],169,"Content file aside for front-matter","2022-03-25T09:54:52Z","https://github.com/nuxt/nuxt.com/issues/169",0.74995005,{"description":2055,"labels":2056,"number":2049,"owner":1988,"repository":1989,"state":2003,"title":2058,"updated_at":2059,"url":2060,"score":2053},"I was trying to use the [example](https://scripts.nuxt.com/scripts/content/google-maps#example):\r\n\r\n```\r\n\u003Cscript setup lang=\"ts\">\r\nconst { $script } = useScriptGoogleMaps({\r\n apiKey: 'key'\r\n})\r\n$script.then(({ maps }) => {\r\n const map = new maps.Map(document.getElementById('map'), {\r\n center: { lat: -34.397, lng: 150.644 },\r\n zoom: 8\r\n })\r\n})\r\n\u003C/script>\r\n```\r\n\r\nBut I get a type error in my IDE: `Property Map does not exist on type typeof maps | Promise\u003Ctypeof maps>`\r\n\r\nAs well as an error in Vue/Nuxt: `Uncaught (in promise) TypeError: maps.Map is not a constructor`",[2057],{"name":1985,"color":1986},"Docs: Google Maps example is not working","2024-09-03T15:28:08Z","https://github.com/nuxt/scripts/issues/169",{"description":2062,"labels":2063,"number":2065,"owner":1988,"repository":2002,"state":2003,"title":2066,"updated_at":2067,"url":2068,"score":2069},"https://www.figma.com/file/OLlmzoVQ7FSBh4FJJORNpl/nuxt.com?node-id=2441%3A11054",[2064],{"name":1999,"color":2000},115,"Improve docs navigation bar","2023-02-15T12:30:39Z","https://github.com/nuxt/nuxt.com/issues/115",0.7625136,{"description":2071,"labels":2072,"number":2065,"owner":1988,"repository":1989,"state":2003,"title":2073,"updated_at":2074,"url":2075,"score":2069},"If I have my global scripts set up like so:\r\n\r\n\r\n\r\nThen the scripts are output as expected on the frontend:\r\n\r\n\r\n\r\nHowever, if I pass in a UseScriptInput object, like so:\r\n\r\n\r\n\r\nThen the script is not output:\r\n\r\n\r\n\r\nIf I pass [UseScriptInput, NuxtUseScriptOptions], like so:\r\n\r\n\r\n\r\nI get this error:\r\n\r\n\r\n\r\nENV:\r\nbun 1.1.16\r\nnuxt 3.12.2\r\n@nuxt/scripts 0.5.1\r\n\r\nRunning with compatibility version 4\r\n",[],"Issues using UseScriptInput in the globals section of nuxt.config.ts","2024-07-03T09:16:13Z","https://github.com/nuxt/scripts/issues/115",["Reactive",2077],{},["Set"],["ShallowReactive",2080],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"58CHvUT5XwTpRQvFKrl1zGw-bgYnqbLBPZFW6veGRLE":-1},"/nuxt/scripts/265"]