Vue-router async loading url

I have a Laravel back-end where i can manage my Urls. In front i’m using Vuejs with vue-router First in main.js import EstarterSettings from ‘./plugins/EstarterSettings’ import router from ‘./router’ then i’m trying to use a plugin to load my routes in the plugin import {RestDataSourcesMixin} from ‘../mixins/RestDataSourcesMixin’ export default { async install(Vue, options) { Vue.prototype.$routes…

Deploy WAR together with module from project (IntelliJ)

The project is a Java EE application build with Maven. As IDE I am using IntelliJ. I am deploying my application to a remote Payara. My application is organised as follows: parent module1.jar module1.jar app.war WEB-INF/plugins/module1.jar WEB-INF/plugins/module2.jar To package app.war I am using the following plugin in the pom.xml of app.war <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <executions>…

Delete Plugin Options with Verify

The process to uninstall an plugin is documented here: https://developer.wordpress.org/plugins/plugin-basics/uninstall-methods/ . The sample code there is: // if uninstall.php is not called by WordPress, die if (!defined(‘WP_UNINSTALL_PLUGIN’)) { die; } $option_name = ‘wporg_option’; delete_option($option_name); // for site options in Multisite delete_site_option($option_name); But I can find no code samples on how to ask the user if…

My WordPress activation hook isn’t working

I just can’t see why my activation hook isn’t working. /* ****Debug function ****/ function console_log( $data ){ echo ‘<script>’; echo ‘console.log(‘. json_encode( $data ) .’)’; echo ‘</script>’; } console_log (“Hello from main”); /* ***Set up activation and deactivation functions** *** Activate sets up the WP tables “picm”** *** Deactivate removes the WP tables “picm”…