I want to list subcategories on category page i found this documation for MAgento 1 it's not working on Magento 2.
Can someone help me to work on Magento 2 please?
You can check below links for your requirements,
You can go with below answer if you need one phtml page with get category,
There is a amazing module on Magento Marketplace by the name Advanced Subcategory Grid to show subcategories on categories page. Have a look
There are a free extension have that feature:
This is my free module https://github.com/magepow/magento2-categories you can use this and give me review about it.
You can use this extension for Subcategories on Category Page, Subcategory extension extends the default category feature of Magento 2. This extension enables you to display subcategories with proper images and descriptions on your category page. You can choose between two modes of display Grid view or List view. So it makes the page look a lot better. Stores with a complex category hierarchy can benefit from this module. It will help your users navigate the store with ease.
The following link https://www.scommerce-mage.com/magento-2-subcategory-grid.html would be useful.
If you can't do such a simpler thing i wonder you want to continue using Magento and moving to a simpler platform. Dont think you gain something.