Templates frontend assets building Methods
We have configured the frontend building structure in 2 different ways for individual templates.Case 1. Using Frontend YARN Methods
- In most of the templates we have to implement this building process and it’s a new standard process.
- Overall building structure is based on Node and YARN.
- So, First Install the compatible Node Versions(14.19.0 and above) (https://nodejs.org/en/download)
- Then after installing the YARN - Building Package Manager (https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable).
yarn.lock to the following path:
Case 2. Using TYPO3 SASS Methods
- We have used this method rarely in templates.
- After doing changes on any SCSS files, you must clear the backend cache.
- After clearing the cache just reloads your frontend page, Your changes will be reflected on it.
You can detect this method if this file exists gulpfile.js to the following path: