https://github.com/evertharmeling/ux-1263
Reproducer project for symfony/ux#1263
https://github.com/evertharmeling/ux-1263
Last synced: 3 months ago
JSON representation
Reproducer project for symfony/ux#1263
- Host: GitHub
- URL: https://github.com/evertharmeling/ux-1263
- Owner: evertharmeling
- Created: 2024-04-17T13:48:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-17T14:05:08.000Z (about 1 year ago)
- Last Synced: 2025-01-22T19:47:40.571Z (5 months ago)
- Language: PHP
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Reproducer project for issue [symfony/ux#1263](https://github.com/symfony/ux/pull/1263#discussion_r1568192555)
- [ ] Run `symfony serve`
- [ ] Go to [https://127.0.0.1:8000/](https://127.0.0.1:8000/)
- [ ] Check you browser `console` (`alt + cmd + j`).
- [ ] And you should see the `registerables` logged (with `chart.js` versions (`3.9.1` and `4.4.2`))Switch between `chart.js` versions (`3.9.1` and `4.4.2`) in `importmap.php`. And run `symfony console importmap:install` accordingly.
## Ease development
By replacing following content `composer.json`.
```json
"repositories": [
{
"type": "path",
"url": "./lib/ux/src/Chartjs",
"options": {
"symlink": true
}
}
]
```And make sure to clone your own `ux`-repo in the `lib/ux` directory;
```bash
cd lib && git clone [email protected]:/ux.git
```And run
```bash
symfony composer update
```## Share the reproducer
Make sure to commit all changes in your `ux`-repo, push them, change back th`composer.json`.
```json
"repositories": [
{
"type": "vcs",
"url": "[email protected]:/ux.git"
}
]
```And run
```bash
symfony composer update
```