Added Elementor option in build process.

Elementor build still not ready.
This commit is contained in:
2022-11-25 11:48:41 +02:00
parent f0af682a43
commit 295c6f82af
2 changed files with 5 additions and 2 deletions
@@ -17,7 +17,7 @@ class <%= blockClassModel %>_Component {
[ 'style-wp' ],
Global_Functions::get_current_version_number()
);
wp_enqueue_style( '<%= blockFilename %>' )
wp_enqueue_style( '<%= blockFilename %>' );
wp_register_script( 'script-<%= blockFilename %>',
get_template_directory_uri() . '/components/partials/<%= blockFilename %>/templates/scripts/<%= blockFilename %>.min.js',
@@ -25,7 +25,7 @@ class <%= blockClassModel %>_Component {
Global_Functions::get_current_version_number(),
true
);
wp_enqueue_script( 'script-<%= blockFilename %>' )
wp_enqueue_script( 'script-<%= blockFilename %>' );
}
public function render( $args = [] ): void {