Using BladeOne again, got the admin page to show
This commit is contained in:
@ -164,7 +164,7 @@ class App {
|
||||
}
|
||||
|
||||
/**
|
||||
* Load Blade as the templating engine for the plugin.
|
||||
* Load BladeOne as the templating engine for the plugin.
|
||||
*
|
||||
* @since 1.0.0
|
||||
*
|
||||
|
@ -29,7 +29,7 @@ class CustomPage {
|
||||
public function enqueue_scripts(): void {
|
||||
wp_enqueue_style( 'nmsp-plugin-name-css', plugins_url( '../../assets/css/nmsp-plugin-name.css', __FILE__ ), array(), '1.0.0', 'screen' );
|
||||
|
||||
wp_register_script( 'nmsp-plugin-name-js', plugins_url( '../../assets/js/nmsp-plugin-name.js', __FILE__ ), array(), '1.0.0', false );
|
||||
wp_register_script( 'nmsp-plugin-name-js', plugins_url( '../../assets/js/nmsp-plugin-name.js', __FILE__ ), array( 'jquery' ), '1.0.0', false );
|
||||
wp_enqueue_script( 'nmsp-plugin-name-js' );
|
||||
|
||||
$payload = array(
|
||||
|
Reference in New Issue
Block a user