open-gaia/admin-bundle

使用美观的Sylius资源系统的管理包

安装: 251

依赖项: 0

建议者: 0

安全性: 0

星标: 0

分支: 1

类型:symfony-bundle

v1.2.9 2023-10-13 13:09 UTC

This package is auto-updated.

Last update: 2024-09-13 14:57:49 UTC


README

此管理包使用美观的SyliusResourceBundle来管理简单的CRUD操作,并使用Webpack Encore来管理资源。

配置

imports:
  - { resource: "@GaiaAdminBundle/Resources/config/config.yaml" }

Webpack Encore

在项目 "package.json" 中添加 workspace

{
  "workspaces": [
    "./vendor/open-gaia/admin-bundle"
  ]
}

在项目 "webpack.config.js" 中添加

const Encore = require('@symfony/webpack-encore');
const adminConfig = require('./vendor/open-gaia/admin-bundle/webpack.config');

Encore.reset();

// config

module.exports = [Encore.getWebpackConfig(), config];