We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88c153e commit 2291bc8Copy full SHA for 2291bc8
src/components/HelloWorld.vue
@@ -8,7 +8,7 @@
8
<code>
9
Craft Version: {{ info.craftVersion }} (passed in as prop)<br />
10
Environment: {{ info.environment }} (passed in as prop)<br />
11
- DB Name: <slot></slot> (passed in through slot)
+ DSN Settings: <slot></slot> (passed in through slot)
12
</code>
13
</div>
14
</template>
@@ -31,4 +31,4 @@ h1,
31
h2 {
32
font-weight: normal;
33
}
34
-</style>
+</style>
templates/index.twig
@@ -18,7 +18,7 @@
18
} %}
19
20
<hello-world :info="{{ info|json_encode }}">
21
- {{ getenv('DB_DATABASE') }}
+ {{ getenv('DB_DSN') }}
22
</hello-world>
23
24
0 commit comments