PHP Classes

File: resources/js/Stores/locale.js

Recommend this page to a friend!
  Classes of Nyi Nyi Lwin   S3 B2B PHP Amazon S3 File Manager   resources/js/Stores/locale.js   Download  
File: resources/js/Stores/locale.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: S3 B2B PHP Amazon S3 File Manager
Manage files stored in multiple Amazon S3 buckets
Author: By
Last change:
Date: 9 months ago
Size: 274 bytes
 

Contents

Class file image Download
import { defineStore } from 'pinia' import { useStorage } from "@vueuse/core"; export const useLocaleStore = defineStore('locale', { state: () => ({ locale: useStorage('locale', 'en') }), actions: { setLocale(locale) { this.locale = locale } } })