change nuxt base
This commit is contained in:
@@ -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).
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
export const state = () => ({
|
||||
navigation_guard: false
|
||||
})
|
||||
|
||||
export const mutations = {
|
||||
navigationGuards(state, data) {
|
||||
state.navigation_guard = data
|
||||
}
|
||||
}
|
||||
Vendored
+50
@@ -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 = {}
|
||||
Reference in New Issue
Block a user