inicios del FrontEnd
This commit is contained in:
37
APP/plugins/dashboard-plugin.js
Executable file
37
APP/plugins/dashboard-plugin.js
Executable file
@@ -0,0 +1,37 @@
|
||||
/*!
|
||||
|
||||
=========================================================
|
||||
* Nuxt Black Dashboard - v1.0.0
|
||||
=========================================================
|
||||
|
||||
* Product Page: https://www.creative-tim.com/product/nuxt-black-dashboard-pro
|
||||
* Copyright 2020 Creative Tim (https://www.creative-tim.com)
|
||||
|
||||
* Coded by Creative Tim
|
||||
|
||||
=========================================================
|
||||
|
||||
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
*/
|
||||
// Polyfills for js features used in the Dashboard but not supported in some browsers (mainly IE)
|
||||
import Vue from 'vue'
|
||||
import './extra/polyfills';
|
||||
// Notifications plugin. Used on Notifications page
|
||||
import Notifications from '@/components/NotificationPlugin';
|
||||
// A plugin file where you could register global components used across the app
|
||||
import './globalComponents';
|
||||
// A plugin file where you could register global directives
|
||||
import './globalDirectives';
|
||||
// Sidebar on the right. Used as a local plugin in DashboardLayout.vue
|
||||
import SideBar from '@/components/SidebarPlugin';
|
||||
// RTL (right to left plugin to support rtl layout). If you don't need support for rtl, remove this plugin
|
||||
import RTLPlugin from './RTLPlugin';
|
||||
|
||||
// element ui language configuration
|
||||
import lang from 'element-ui/lib/locale/lang/en';
|
||||
import locale from 'element-ui/lib/locale';
|
||||
locale.use(lang);
|
||||
|
||||
Vue.use(RTLPlugin);
|
||||
Vue.use(SideBar);
|
||||
Vue.use(Notifications);
|
||||
Reference in New Issue
Block a user