Open maryamt1991 opened 8 months ago
@maryamt1991, let's break it down:
The Direct component import means that you have imported a component from another component directly. This means that instead of a simple alias like Shared
you have used a relative path like ../Shared/
. This is not a well-maintained code.
The Default import means that you have done:
import SomeComponent from '../Shared/SomeComponent'
Instead of:
import { SomeComponent } from 'Shared'
They are both together. You solve them together.
Direct component import /MaryamTavalla/SiteQwik/Components/Layout/Header.jsx Use path aliases from TsConfig.json file Default import /MaryamTavalla/SiteQwik/Components/Layout/Header.jsx Use named imports all across a website what is the meaning of these two errors for Check command?