Fix resource folder and routes, views -> dist