mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
* vue: use our own store in place of vuex * vue store: add getters, watcher and use internal vue instance * vue store: better state getter and credits to Vuex * vue store: $watch -> watch * vuex store: pass store to getters and fix typos * add comments to store, start writing tests * fix unit tests and add missing ones * cleanup components, add less folder, fetch tassks * use Vuex helpers * pin vuex version * move semantic-ui theme to assets/less, keep website/build empty but in git * import helpers from vuex
23 lines
385 B
Vue
23 lines
385 B
Vue
<!-- Entry point component for the entire app -->
|
|
|
|
<template lang="pug">
|
|
#app.ui.fluid.container
|
|
app-header
|
|
router-view.view
|
|
</template>
|
|
|
|
<script>
|
|
import AppHeader from './components/appHeader';
|
|
|
|
export default {
|
|
components: {
|
|
AppHeader,
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<style lang="less">
|
|
// Load CSS that doesn't belong to any specific component
|
|
@import './assets/less/index';
|
|
</style>
|