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

Chapter 1: Error. Missing file fonts.ts in the starter-example #915

Open
AndrZakhara opened this issue Nov 9, 2024 · 1 comment
Open

Comments

@AndrZakhara
Copy link

AndrZakhara commented Nov 9, 2024

Тhere is an error in imports due to the use of the missing fonts.ts file.
fonts.ts doesnt exist in the starter-example/app/ui but file using in some components: dashboard/starter-example/app/ui/acme-logo.tsx, etc

Type error: Cannot find module '@/app/ui/fonts' or its corresponding type declarations.

image
image

fix: it would be good also to comment imports for components that have an import of the fonts.ts file

@razvanthered
Copy link

There is a step in the 3rd chapter that will require that fonts.ts file and the import of Lusitana: https://nextjs.org/learn/dashboard-app/optimizing-fonts-images#practice-adding-a-secondary-font

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

No branches or pull requests

2 participants