JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Docking Layout › Use splitter for Vue-router navigation › Reply To: Use splitter for Vue-router navigation
January 28, 2020 at 3:23 pm
#100627
Hristofor
Member
Hi olaf@xso,
The problem is that you are applying the Grid settings on the created
hook while it should be during mounted
. Created
is called before the template is mounted.
Another issue is that you’ve missed to add the reference for the Splitter component:
import "@smarthtmlelements/smart-elements/source/styles/smart.default.css";
import "@smarthtmlelements/smart-elements/source/modules/smart.splitter.js";
import "@smarthtmlelements/smart-elements/source/modules/smart.grid.js";
Best Regards,
Christopher
Smart HTML Elements Team
https://www.htmlelements.com