This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#env.local | |
#other relevant data comes here | |
VUE_APP_PREFIX=local_ | |
NODE_ENV=development | |
#env.development | |
#other relevant data comes here | |
VUE_APP_PREFIX=dev_ | |
NODE_ENV=production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue' | |
import axios from 'axios' | |
import createAuthRefreshInterceptor from 'axios-auth-refresh'; | |
import { | |
throttleAdapterEnhancer | |
} from 'axios-extensions'; | |
const throttleConfig = { | |
threshold: 2 * 1000 // 2 seconds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<Page @loaded="get_partners" > | |
<GridLayout rows="*"> | |
<RadListView row="0" ref="listView" | |
for="partner_item in all_partners.data" | |
layout="grid" | |
pullToRefresh="true" | |
:gridSpanCount= 3 | |
height="800" | |
itemInsertAnimation="Slide" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios from 'axios' | |
import Ls from '@services/ls' | |
import router from '@router' | |
import VueJwtDecode from 'vue-jwt-decode' | |
export const fullsepp_axios = axios.create({ | |
headers: { 'Content-Type': 'application/json'}, | |
timeout: 3000, | |
keepAlive: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import axios from 'axios' | |
import Ls from '@services/ls' | |
import router from '@router' | |
export const sitename_axios = axios.create({ | |
headers: { 'Content-Type': 'application/json'}, | |
timeout: 3000, | |
keepAlive: true | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="page-content-center"> | |
<div class="page-content"> | |
<div class="form-alt-baslik">{{ $t('genel_tercihler_page.title-time-preferences') }}</div> | |
<template class="form_spinner" v-if="content_loading"> | |
<div class="page_content_loader"> | |
<spinner :status="content_loading"></spinner> | |
</div> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const path = require('path') | |
const aliases = { | |
'@': 'src', | |
'@helpers': 'src/_helpers', | |
'@router': 'src/router', | |
'@views': 'src/views', | |
'@layout': 'src/layout', | |
'@components': 'src/components', | |
'@assets': 'src/assets', | |
'@services': 'src/services', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
routes, | |
// Use the HTML5 history API (i.e. normal-looking routes) | |
// instead of routes with hashes (e.g. example.com/#/about). | |
// This may require some server configuration in production: | |
// https://router.vuejs.org/en/essentials/history-mode.html#example-server-configurations | |
mode: 'history', | |
// Simulate native-like scroll behavior when navigating to a new | |
// route and using back/forward buttons. | |
scrollBehavior(to, from, savedPosition) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
import popup from '@components/blocks/popup'; | |
components: { | |
'sitename-popup' : popup | |
} | |
<sitename-popup | |
popup_type = 'default' | |
popover_title = "Join our bounty program" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {store} from '@state' | |
// load vuex i18n module | |
import vuexI18n from 'vuex-i18n'; | |
Vue.use(vuexI18n.plugin, store); | |
import translationsTr from '@src/resources/languages/al.json' | |
import translationsEn from '@src/resources/languages/en.json' | |
// add translations directly to the application | |
Vue.i18n.add('al', translationsTr); | |
Vue.i18n.add('en', translationsEn); |
NewerOlder