I want to apply html template into yii2 framework. I have tried this links.Link1,Link2
But I don't get the right answer.
I want to apply html template into yii2 framework. I have tried this links.Link1,Link2
But I don't get the right answer.
Separate your html template assets(css/js) files to
frontend/web/css
frontend/web/js
and make your css and js file included in AppAsset.php
as yii2 application gives jQuery
and Bootstrap
assets by default so you just need not to include that in AppAsset.php
finally register that Asset in main.php
which is common for all and just run the application with your html template component.