Skip to content
Snippets Groups Projects
Commit 9697aa94 authored by Julian Pustkuchen's avatar Julian Pustkuchen
Browse files

Issue #3404816 by Anybody: Incomplete library definition for definition...

Issue #3404816 by Anybody: Incomplete library definition for definition 'vue_router' in extension 'vuejs' upgrading from 8.x-1.x to 3.x
parent de63a4f5
No related branches found
No related tags found
No related merge requests found
......@@ -16,8 +16,8 @@
*/
function vuejs_update_93001(&$sandbox) {
$config = \Drupal::config('vuejs.settings');
$hasVueRouter = $config->get('vue_router') !== NULL;
$hasVueResource = $config->get('vue_resource') !== NULL;
$hasVueRouter = $config->get('libraries.vue_router') !== NULL;
$hasVueResource = $config->get('libraries.vue_resource') !== NULL;
if ($hasVueRouter || $hasVueResource) {
// Only reset the config, if we detect old configuration, where these keys were present!
\Drupal::service('config.installer')->installDefaultConfig('module', 'vuejs');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment