import Vue from 'vue' import store from 'vuejs/store' import VUserBlock from 'vuejs/components/User/UserBlock' // require('theme/assets/styles/main.scss'); import 'theme/assets/styles/main.scss' (function(Drupal, drupalSettings) { var v_user_block = new Vue({ store, render: h => h(VUserBlock) }).$mount('#block-userlogin') var MaterioTheme = function(){ // var _is_front = drupalSettings.path.isFront; // ___ _ _ // |_ _|_ _ (_) |_ // | || ' \| | _| // |___|_||_|_|\__| function init(){ console.log("MaterioTheme init()"); }; init(); } // end MaterioTheme() // $(document).ready(function($) { // if(drupalSettings.path.isFront){ var materiotheme = new MaterioTheme(); // }else{ // $('body').attr('booted', 'booted'); // } // }); })(Drupal, drupalSettings);