change nuxt base

This commit is contained in:
Amir Mohamadi
2020-06-03 14:13:34 +04:30
parent b3421baf3c
commit 75f8971cb3
69 changed files with 52497 additions and 689 deletions
-10
View File
@@ -1,10 +0,0 @@
# STORE
**This directory is not required, you can delete it if you don't want to use it.**
This directory contains your Vuex Store files.
Vuex Store option is implemented in the Nuxt.js framework.
Creating a file in this directory automatically activates the option in the framework.
More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/vuex-store).
+9
View File
@@ -0,0 +1,9 @@
export const state = () => ({
navigation_guard: false
})
export const mutations = {
navigationGuards(state, data) {
state.navigation_guard = data
}
}
+50
View File
@@ -0,0 +1,50 @@
export const state = () => ({
header: {
fa: {
home: {
url: '/fa',
title: 'صفحه اصلی'
},
about: {
url: '/fa/about',
title: 'درباره ما'
},
services: {
url: '/fa/services',
title: 'خدمات'
},
products: {
url: '/fa/products',
title: 'محصولات'
},
contact: {
url: '/fa/contact',
title: 'ارتباط با ما'
}
},
en: {
home: {
url: '/en',
title: 'Home'
},
about: {
url: '/en/about',
title: 'About Us'
},
services: {
url: '/en/services',
title: 'Services'
},
products: {
url: '/en/products',
title: 'Products'
},
contact: {
url: '/en/contact',
title: 'Contact Us'
}
}
}
})
export const mutations = {}