Closed manolo closed 1 year ago
Documentation indicates that user should import './main-layout.ts'; but extension should be removed, to avoid compilation error
import './main-layout.ts';
FILE hilla-crm-tutorial/frontend/routes.ts:6:8 4 | import './views/login/login-view'; 5 | import './views/list/list-view'; > 6 | import './main-layout.ts'; | ^^^^^^^^^^^^^^^^^^ 7 | 8 | export type ViewRoute = Route & { 9 | title?: string;
At the same time it might be fixed warning in duplicated import in login-view.ts
login-view.ts
import { LoginFormLoginEvent } from '@vaadin/login/vaadin-login-form.js'; import '@vaadin/login/vaadin-login-form.js';
Documentation indicates that user should
import './main-layout.ts';
but extension should be removed, to avoid compilation errorAt the same time it might be fixed warning in duplicated import in
login-view.ts