wexample/symfony-loader
最新稳定版本:0.0.20
Composer 安装命令:
composer require wexample/symfony-loader
包简介
A dynamic rendering system for Symfony
关键字:
README 文档
README
Version: 0.0.20
A dynamic rendering system for Symfony
Table of Contents
Installation
JS helpers resolution
The webpack helper (src/Resources/js/webpack/encore.manifest.js) expects @wexample/js-helpers to be installed in the app.
For local dev containers, use link: in package.json:
{
"devDependencies": {
"@wexample/js-helpers": "link:/var/www/javascript-dev/wexample/js-helpers"
}
}
Local JS packages (dev only)
To use local JS packages in development, configure them in config/packages/wexample_symfony_dev.yaml:
wexample_symfony_dev: js_dev_packages: - '/var/www/javascript-dev/wexample/*'
The glob * scans all subdirectories containing a package.json and automatically:
- Adds webpack aliases via
Encore.addAliases() - Adds TypeScript paths in
tsconfig.json
Run
yarn install yarn watch
The manifest and tsconfig are updated automatically.
统计信息
- 总下载量: 120
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-06