mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-01 19:50:37 +00:00
* Links stay white on hover * Fixed task icon color * Disabled plus button when needed * Fixed difficulty color * Fixed task reward color * Updated create styles * Fixed group plan link * Fixed second group test modal * Added login incentives * Fixed group notification clear * Show baily correctly * Styled armoire notification * Fixed contributor achievement styles * Fixed death * Fixed drop styles * Fixed invited friend modal * Fixed joined challenge achievement style * Fixed joined guild style * Fixed level up styles * Updated low health styles * Fixed bailey styles * Updated quest completed * Added soem conditionals to hide modals * Added rebirth styles * Fixed rebirth enable styles * Fixed streak styles * Fixed testing modals * Fixed ultimate gear achievement * Fixed won challenge * Set user to welcomed if created on mobile * Removed old default tasks * Began adding more options to avatar * Added change class * Inbox to messages * Moved profile to menu * Added user modal for viewing a user and send message * Fixed conversations * Fixed lint * Fixed challenges sending to server * Added challenge progress view * Fixed group sync after pay * Fixed some group accepting features * Fixed initial chat loading * Fixed some exitence errors * Added user names to assigned * Added upgrade link * Began adding new payment flow * Added default tasks * Updated avatar styles * Updated tutorial styles * Rebuilt notifications and styles * Updated upload script * Fixed lint * Added default tasks back to mobile and added updated tests * More test fixes
34 lines
1.2 KiB
JavaScript
34 lines
1.2 KiB
JavaScript
// TODO verify if it's needed, added because Axios require Promise in the global scope
|
|
// and babel-runtime doesn't affect external libraries
|
|
require('babel-polyfill');
|
|
|
|
import Vue from 'vue';
|
|
import AppComponent from './app';
|
|
import router from './router';
|
|
import getStore from './store';
|
|
import StoreModule from './libs/store';
|
|
import './filters/registerGlobals';
|
|
import i18n from './libs/i18n';
|
|
|
|
const IS_PRODUCTION = process.env.NODE_ENV === 'production'; // eslint-disable-line no-process-env
|
|
|
|
// Configure Vue global options, see https://vuejs.org/v2/api/#Global-Config
|
|
|
|
// Enable perf timeline measuring for Vue components in Chrome Dev Tools
|
|
// Note: this has been disabled because it caused some perf issues
|
|
// if rendering becomes too slow in dev mode, we should turn it off
|
|
// See https://github.com/vuejs/vue/issues/5174
|
|
Vue.config.performance = !IS_PRODUCTION;
|
|
// Disable annoying reminder abour production build in dev mode
|
|
Vue.config.productionTip = IS_PRODUCTION;
|
|
|
|
// window['habitica-i18n] is injected by the server
|
|
Vue.use(i18n, {i18nData: window && window['habitica-i18n']});
|
|
Vue.use(StoreModule);
|
|
|
|
export default new Vue({
|
|
el: '#app',
|
|
router,
|
|
store: getStore(),
|
|
render: h => h(AppComponent),
|
|
});
|