Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
/frameworkPublic archive

fix(nuxt): auto import for components with external template - #6053

Merged
pi0 merged 4 commits into
mainfrom
fix/components-external-template
Jul 22, 2022
Merged

fix(nuxt): auto import for components with external template#6053
pi0 merged 4 commits into
mainfrom
fix/components-external-template

Conversation

@antfu

Copy link
Copy Markdown
Member

🔗 Linked issue

fixnuxt/nuxt#14366

❓ 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 like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

It's due to the original issue using external template where we didn't match it correctly.

<template lang="pug" src="./AppButton.pug"/>

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@netlify

netlifyBot commented Jul 22, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs canceled.

NameLink
🔨 Latest commita391261
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/62da37a4d8659400086b0497

pi0
pi0 approved these changes Jul 22, 2022
@pi0pi0 changed the title fix(components): auto import for external templatefix(nuxt): auto import for components with external templateJul 22, 2022
@pi0
pi0 merged commit 416f98b into mainJul 22, 2022
@pi0
pi0 deleted the fix/components-external-template branch July 22, 2022 08:28
@pi0pi0 mentioned this pull request Aug 5, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto-imports are not working with template Pre-processors (pug)

3 participants

@antfu@pi0@danielroe