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

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

Merged
merged 4 commits into from
Jul 22, 2022

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