Create a Symlink
To make your development process easier, you can symlink the build folder of this repository to your local TYPO3 installation. This way you can test your changes in the pattern library directly in your TYPO3 installation without having to publish a new version of the npm package every time.
Steps
- ssh into pharma4u Typo3
cd pharma4u-workspace/pharma4u- Delete installed Package in pharma4u_templates
rm -R /var/www/html/htdocs/typo3conf/ext/pharma4u_templates/node_modules/@pharma4u/patternlab- Symlink your local build folder (make sure you run grunt build before)
ln -s /var/www/html/patternlab/build /var/www/html/htdocs/typo3conf/ext/pharma4u_templates/node_modules/@pharma4u/patternlab- (Optional) Empty the cache in pharma4u Typo3:
ddev cache