You can choose to toggle TailwindCSS module from Pilo’Press > Styles > Modules.
In the administration, under Pilo’Press > Styles, when you click on Update & Compile, TailwindCSS will be compiled remotely using a homemade TailwindCSS API we manage (using v2.2.4 of TailwindCSS).
The compilation process takes all your layouts CSS files and put them along the rest of the TailwindCSS configuration
to generate 2 files, 1 for the admin(useful for Flexible Layout Preview) & 1 for the front.
Minified CSS files are then created under /pilopress/assets/styles.min.css and /pilopress/assets/styles-admin.min.css.
Those files are automatically enqueued but there are filtersto disable this auto-enqueue if you want to.
It is possible to manually retrieve the TailwindCSS PostCSS & JS fields of the administration if you want to build TailwindCSS locally.
To do so, you can use the following code: $tailwind_css = pip_get_tailwind_css(); $tailwind_config = pip_get_tailwind_config();
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.