Skip to content

Conversation

@clemcode
Copy link
Contributor

@clemcode clemcode commented Jan 1, 2025

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This PR adds the layer template to the add command. This creates a directory of <name> with a base nuxt.config.ts file.

# Generates `layers/subscribe/nuxt.config.ts`
npx nuxi add layer subscribe

A PR with the documentation update is ready to be open here : https://github.com/clemcode/nuxt/tree/docs/nuxi/add-layer

@clemcode clemcode requested a review from danielroe as a code owner January 1, 2025 17:06
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 28.57143% with 5 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@a433fbc). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/utils/templates.ts 28.57% 5 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##             main    #626   +/-   ##
======================================
  Coverage        ?   1.37%           
======================================
  Files           ?      44           
  Lines           ?    2905           
  Branches        ?      44           
======================================
  Hits            ?      40           
  Misses          ?    2824           
  Partials        ?      41           

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

@danielroe danielroe merged commit a5e5bd8 into nuxt:main Jan 5, 2025
3 checks passed
@danielroe
Copy link
Member

nice work on this and #630! ❀️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants