-1

I am new to Adonisjs and I am trying to load header, footer and the view file from controller in a common template and display the data from controller in the view file.

Kindly help me get through this. Thanks

Balaji Rajendran
  • 307
  • 5
  • 17

1 Answers1

1

you can try use @include('yourfolder.view'), refer this documentation https://edge.adonisjs.com/docs/partials

Nazrul Muhaimin
  • 363
  • 4
  • 14