Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automatically import component and store in jest. #802

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kght6123
Copy link

This has been addressed because it takes time to import individually each time.

@kght6123 kght6123 changed the title Automatically import component and store in jest. feat: Automatically import component and store in jest. Jun 16, 2021
@clarkdo clarkdo requested review from Atinux and danielroe July 21, 2021 12:54
@@ -0,0 +1,2 @@
// Enable when you want to import components automatically.
import "./.nuxt/components/plugin.js";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this should be enabled by default.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed when components: true is not provided, this file does not exists... Maybe using import().catch(()=>{})? But i think other than this, by default we have components: true in default CNA nuxt config

@Atinux Atinux removed their request for review September 20, 2022 13:51
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.

None yet

3 participants