4👍
✅
try this, add /
before path: '/painel'
, and do that for other components.
/
is used to distinct from relative path.
Source:stackexchange.com