Reproducer project for issue symfony/ux#1263
- Run
symfony serve
- Go to https://127.0.0.1:8000/
- Check you browser
console
(alt + cmd + j
). - And you should see the
registerables
logged (withchart.js
versions (3.9.1
and4.4.2
))
Switch between chart.js
versions (3.9.1
and 4.4.2
) in importmap.php
. And run symfony console importmap:install
accordingly.
By replacing following content composer.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;
cd lib && git clone [email protected]:<username>/ux.git
And run
symfony composer update
Make sure to commit all changes in your ux
-repo, push them, change back thcomposer.json
.
"repositories": [
{
"type": "vcs",
"url": "[email protected]:<username>/ux.git"
}
]
And run
symfony composer update