Fix The "components" property should be above the "template" property [Error/vue/order-in-components] ESLint error
FYI: https://vuejs.org/v2/style-guide/#Component-instance-options-order-recommended
This commit is contained in:
parent
46d67ae88a
commit
e41b289eb5
|
@ -5,7 +5,7 @@
|
|||
* https://github.com/JsSucks - https://betterdiscord.net
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
const $ = require('jquery');
|
||||
|
@ -32,8 +32,8 @@ class UI {
|
|||
|
||||
this.vueInstance = new Vue({
|
||||
el: '#bd-settings',
|
||||
template: '<BdSettingsWrapper/>',
|
||||
components: { BdSettingsWrapper }
|
||||
components: { BdSettingsWrapper },
|
||||
template: '<BdSettingsWrapper/>'
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@ window.cmCommands = VueCodemirror.CodeMirror.commands;
|
|||
|
||||
new Vue({
|
||||
el: '#root',
|
||||
template: '<Editor/>',
|
||||
components: { Editor }
|
||||
components: { Editor },
|
||||
template: '<Editor/>'
|
||||
});
|
||||
|
||||
const style = document.createElement('style');
|
||||
|
|
Loading…
Reference in New Issue