这是indexloc提供的服务,不要输入任何密码
Skip to content

fix(examples): fix build in fresh vue example project #10277

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

Merged
merged 2 commits into from
Apr 4, 2025

Conversation

chameleonmind
Copy link
Contributor

Fixes the issue with build in the freshly created Turborepo project with vue-nuxt example

Description

When you init a new project and try build command, there are errors in web app:

web:build: ../../packages/ui/index.ts(1,18): error TS7016: Could not find a declaration file for module './src/card.vue'. 'D:/Projekti/turborepo-vue-test/packages/ui/src/card.vue' implicitly has an 'any' type.
web:build: ../../packages/ui/index.ts(2,22): error TS7016: Could not find a declaration file for module './src/gradient.vue'. 'D:/Projekti/turborepo-vue-test/packages/ui/src/gradient.vue' implicitly has an 'any' type.
web:build: ../../packages/ui/index.ts(3,18): error TS7016: Could not find a declaration file for module './src/page.vue'. 'D:/Projekti/turborepo-vue-test/packages/ui/src/page.vue' implicitly has an 'any' type.

Testing Instructions

Tried to run example from a branch but that didn't really work.

npx create-turbo@latest --example https://github.com/chameleonmind/turborepo/tree/fix/Fix_example_vue_nuxt_build

If necessary, I could provide a repo with these changes only

@chameleonmind chameleonmind requested a review from a team as a code owner April 3, 2025 11:26
@turbo-orchestrator turbo-orchestrator bot added area: examples Improvements or additions to examples needs: triage New issues get this label. Remove it after triage labels Apr 3, 2025
Copy link

vercel bot commented Apr 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 3:01am
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 3:01am
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 3:01am
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 3:01am
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 3:01am
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 3:01am
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 3:01am
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 3:01am
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 3:01am
turbo-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 4, 2025 3:01am

Copy link

vercel bot commented Apr 3, 2025

@chameleonmind is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@anthonyshew anthonyshew left a comment

Choose a reason for hiding this comment

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

Thank you!

@anthonyshew anthonyshew merged commit c95d44d into vercel:main Apr 4, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: examples Improvements or additions to examples needs: triage New issues get this label. Remove it after triage
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants