Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

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

Open
kght6123 wants to merge 1 commit into
nuxt:main from
kght6123:renovate/jest-auto-import
Open

feat: Automatically import component and store in jest. #802
kght6123 wants to merge 1 commit into
nuxt:main from
kght6123:renovate/jest-auto-import

Conversation

@kght6123

@kght6123 kght6123 commented Jun 16, 2021

Copy link
Copy Markdown

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
@@ -0,0 +1,2 @@
// Enable when you want to import components automatically.
import "./.nuxt/components/plugin.js";

@danielroe danielroe Jul 24, 2021

Copy link
Copy Markdown
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.

pi0 reacted with thumbs up emoji

Copy link
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

2 more reviewers

@pi0 pi0 pi0 left review comments

@danielroe danielroe danielroe left review comments

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /