mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-18 13:28:57 +00:00
asdf
This commit is contained in:
1
nuxt/static/.gitignore
vendored
1
nuxt/static/.gitignore
vendored
@@ -5,6 +5,7 @@
|
||||
.nitro
|
||||
.cache
|
||||
dist
|
||||
.env
|
||||
|
||||
# Node dependencies
|
||||
node_modules
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
<template>
|
||||
<div>
|
||||
<div style="padding: 20px; background: #f0f0f0; margin: 20px; border-radius: 8px;">
|
||||
<h2>APP_URL:</h2>
|
||||
<p>{{ config.public.appUrl }}</p>
|
||||
</div>
|
||||
<NuxtWelcome />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const config = useRuntimeConfig()
|
||||
</script>
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||
export default defineNuxtConfig({
|
||||
ssr: true,
|
||||
devtools: { enabled: true }
|
||||
devtools: { enabled: true },
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
appUrl: process.env.APP_URL || 'something'
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user