webkulabhi/magento2-create-admin-grid-curd-operations

在此,我们创建集合网格,编辑/添加网格行以及在Magento2中的安装程序

dev-master 2019-09-23 08:46 UTC

This package is auto-updated.

Last update: 2024-09-23 19:46:49 UTC


README

这是一个用于在Magento2中创建管理员集合网格、编辑/添加网格行和安装程序的示例模块

手动安装

Magento2模块安装非常简单,请按照以下步骤进行安装-

=> 下载并解压相应的扩展zip文件,并在您的magento/app/code/目录内创建Webkul(vendor)和Grid(module)名称的文件夹,然后将所有模块文件移动到magento根目录Magento2/app/code/Webkul/Grid/文件夹。

边安装边使用Composer

指定所需模块的版本,然后继续。

composer config repositories.reponame vcs https://github.com/webkulabhi/magento2-create-admin-grid-CURD-operations
composer require webkulabhi/magento2-create-admin-grid-CURD-operations:dev-master

从magento根目录通过终端运行以下命令

 $ php bin/magento setup:upgrade
 $ php bin/magento setup:di:compile
 $ php bin/magento setup:static-content:deploy

=> 清除缓存并重新索引。

现在模块已正确安装

代码解释

https://webkul.com/blog/create-grid-edit-add-grid-row-and-installer-in-magento2