How could one apply allready installed and working (in Frontend) tailwindcss to the admin area?
Actually i want to style custom gutenberg blocks created with ACF.
Was trying to enqueue styles with enqueue_style
in acf_register_block_type
without success:
// Custom Block Type
add_action('acf/init', 'fundament_acf_init_block_types');
function fundament_acf_init_block_types() {
// Check function exists.
if( function_exists('acf_register_block_type') ) {
// register a testimonial block.
acf_register_block_type(array(
'name' => 'entry-block',
'title' => __('Entry Block'),
'description' => __('Block element for creating full width page entry.'),
'render_template' => get_template_directory().'/views/blocks/entry-block.php',
'enqueue_style' => get_template_directory_uri().'/assets/styles/blocks/main.scss',
'category' => 'formatting',
'icon' => 'admin-site-alt',
'keywords' => array( 'entry', 'index', 'start', 'home' ),
));
}
}