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

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

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

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

Conversation

@antfu
Copy link
Member

@antfu antfu commented Jul 22, 2022

🔗 Linked issue

fix nuxt/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
Copy link

netlify bot commented Jul 22, 2022

Deploy Preview for nuxt3-docs canceled.

Name Link
🔨 Latest commit a391261
🔍 Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/62da37a4d8659400086b0497

@pi0 pi0 changed the title fix(components): auto import for external template fix(nuxt): auto import for components with external template Jul 22, 2022
@pi0 pi0 merged commit 416f98b into main Jul 22, 2022
@pi0 pi0 deleted the fix/components-external-template branch July 22, 2022 08:28
@pi0 pi0 mentioned this pull request Aug 5, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to 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