Vue component->Export default...not found
P粉541565322
P粉541565322 2024-03-26 08:25:38
0
1
415

I want to create a dashboard as a component. But I always get this error

in cmd
  • "Export 'default' not found in '@syncfusion/ej2-vue-layouts' (imported as 'DashboardLayoutComponent')

Does anyone know how I can solve this problem?

P粉541565322
P粉541565322

reply all(1)
P粉722409996

According to the documentation, it appears that DashboardLayoutComponent is a named export, so you must import it like this:

import { DashboardLayoutPlugin } from '@syncfuion/ej2-vue-layouts';

Notice { }.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!