How to migrate adonisjs app from api-only to another template?


Hi, I’m new to adonisjs
I have implemented some adonisjs features for my server API purpose.
Now I’m implementing socket to work with my client app with push notification.

I followed tutorial here
I grabbed the gist and added them to public/style.css and resources/views/chat.edge

I ran the server and go to the chat page route but got this

Anyone can help?
Do I have to install any dependencies related to use the view?


In your start/app.js file on providers array you should add '@adonisjs/framework/providers/ViewProvider',


It’s workin, thank you so much


you’re welcome