Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Updated Nuxt Template #42

Merged
merged 1 commit into from
Apr 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion scaffolds/nuxt/scaffold.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,22 @@ type NuxtData = NpmClientPrompt.Data & PublishableApiKeyPrompt.Data;
export default createScaffold<NuxtData>(
(props) => (
<Zombi {...props} prompts={mergePrompts(PublishableApiKeyPrompt.questions, NpmClientPrompt.questions)}>
<Template source="./" />
<Template source="./components" />
<Template source="./layouts" />
<Template source="./middleware" />
<Template source="./pages" />
<Template source="./plugins" />
<Template source="./static" data={false} />
<Template source="./store" />
<Template source="./.editorconfig" />
<Template source="./.env" />
<Template source="./.gitignore" />
<Template source="./.prettierrc" />
<Template source="./jsconfig.config.js" />
<Template source="./nuxt.config.js" />
<Template source="./package.json" />
<Template source="./README.md" />
<Template source="./yarn.lock" />
</Zombi>
),

Expand Down
1 change: 1 addition & 0 deletions scaffolds/nuxt/template/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NUXT_ENV_MAGIC_PUBLISHABLE_KEY=<%= publishableApiKey %>
2 changes: 1 addition & 1 deletion scaffolds/nuxt/template/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ typings/
.yarn-integrity

# dotenv environment variables file
.env


# parcel-bundler cache (https://parceljs.org/)
.cache
Expand Down