Skip to content
Discussion options

You must be logged in to vote

Your includes are wrong. Uncomment what you have commented. This works:

(The second one doesn't because . in regex matches any character, you need to escape it to check for dot)

Debugging


Run build with DEBUG='*'

Looks the line auto import plugin is not working properly for some reason if the script setup is not empty:

(left if I manually import ChildCard, right with your current code)

Removing lang="ts" is also working 🤔

Logs:

  # for right
  unplugin-vue-components:transformer /Users/brc-dd/my-vitepress-tailwindcss-custom-app/src/components/SampleCard.vue +13ms
  unplugin-vue-components:transform:component ^ (0) +13ms


  # for left
  unplugin-vue-components:transformer /Users/brc-dd…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by TechAkayy
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2811 on August 23, 2023 08:26.