Can’t load assets


I finished some project and this script for loading assets worked fine. But now in another project something is weird. I can’t load .js and .css

function add_css_js() {
  wp_enqueue_script('main-javascript', get_theme_file_uri('/js/main.js'), NULL, '1.0', true);
  wp_enqueue_style( 'tailwind', get_template_directory_uri() . '/css/style.css' );
add_action('wp_enqueue_scripts', 'add_css_js');

This is how looks my folder:

RS92 1 month 0 Answers 8 views 0

Leave an answer