M2 Create Module
<!-- Add file module.xml under <Vendor>_<Module> namespace-->
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="FF_Slideshow" setup_version="1.0" />
</config>
<!-- create registration.php file in the root-->
<?php
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::MODULE, 'FF_Slideshow', __DIR__);
<!--install module-->
bin/magento module:enable --clear-static-content Vendor_Module
bin/magento setup:upgrade
<!-- diable module -->
bin/magento module:disable --clear-static-content Vendor_Module