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 15a002b commit 44fbde5Copy full SHA for 44fbde5
1 file changed
src/steps/2.addModules/index.ts
@@ -68,8 +68,7 @@ export default defineNuxtConfig(${inspect(nuxtConfig, { compact: false })})
68
const moduleIndexHtmlSnippets = selectedModules.map((module) => moduleConfigs[module].htmlForIndexVue).filter(html => typeof html !== "undefined")
69
const nuxtPagesIndexVue = `<template>
70
<div>
71
- <h1 ${selectedModules.includes("tailwind") ? "class=\"text-4xl\"" : ""}>Welcome to your sidebase app!</h1>
72
- ${moduleIndexHtmlSnippets.join("\n ")}
+ <h1 ${selectedModules.includes("tailwind") ? "class=\"text-4xl\"" : ""}>Welcome to your sidebase app!</h1>${moduleIndexHtmlSnippets.length > 0 ? "\n" + moduleIndexHtmlSnippets.join("\n ") : ""}
73
</div>
74
</template>
75
`
0 commit comments