mirror of
https://github.com/Mayccoll/Gogh.git
synced 2023-08-10 21:12:46 +03:00
24 lines
367 B
JavaScript
24 lines
367 B
JavaScript
|
/* global $, fetch, console */
|
||
|
/* eslint no-undef: "error", semi: 2 */
|
||
|
/* jshint esversion: 6 */
|
||
|
|
||
|
// var $themes = './data/themes.json';
|
||
|
|
||
|
Vue.component('component', {
|
||
|
template: '#wrap_themes',
|
||
|
props: {
|
||
|
data: {
|
||
|
type: null
|
||
|
}
|
||
|
}
|
||
|
});
|
||
|
|
||
|
var $app = new Vue({
|
||
|
el: '#js-vue-app',
|
||
|
data: function () {
|
||
|
return {
|
||
|
theme_data: $themes
|
||
|
}
|
||
|
}
|
||
|
});
|