You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

49 lines
1.7 KiB

<?php
// (c) Copyright by authors of the Tiki Wiki CMS Groupware Project
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
function prefs_vuejs_list()
{
return [
'vuejs_enable' => [
'name' => tra('Enable Vue.js'),
'description' => tra('Loads the vue.js library.'),
'type' => 'flag',
'default' => 'n',
'tags' => ['experimental'],
'keywords' => 'vue js vuejs vue_js',
],
'vuejs_build_mode' => [
'name' => tra('Vue.js Deployment Mode'),
'description' => tra('Selects which vue.js library is used.'),
'type' => 'list',
'options' => [
'vue.min.js' => tra('Production full (minified)'),
'vue.runtime.min.js' => tra('Production runtime (minified)'),
'vue.js' => tra('Development full'),
'vue.runtime.js' => tra('Development runtime only'),
],
'default' => 'vue.min.js',
'tags' => ['advanced'],
'dependencies' => [
'vuejs_enable',
],
'keywords' => 'vue js vuejs vue_js',
],
'vuejs_always_load' => [
'name' => tra('Always Load Vue.js'),
'description' => tra('Loads the vue.js library for every page.'),
'type' => 'flag',
'default' => 'n',
'tags' => ['advanced'],
'dependencies' => [
'vuejs_enable',
],
'keywords' => 'vue js vuejs vue_js',
],
];
}