cancel
Showing results for 
Search instead for 
Did you mean: 

How to add file dynamically in root folder in magento 2

How to add file dynamically in root folder in magento 2

Hello Everyone. I am new in magento.

Can anyone please tell me

How to create and place json and js files

I have 2 files

i: xxxx.json and ii: xxxx.js file

I want this files to be created and placed in root folder of magento 2 (Eg: C:\xampp\htdocs\wigzo_magento) using module.