This file contains hidden or 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="accounts-staff"> | |
| <!-- top start --> | |
| <div class="accounts-staff__top bottom-24"> | |
| <AppTitle | |
| class="mb-0" | |
| bold="Accounts & permissions" | |
| /> |
This file contains hidden or 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
| export const state = () => ({ | |
| accountUsers: [], | |
| accountUsersLoading: false, | |
| accountUsersTotalCount: 0, | |
| accountUsersCurrentPage: 1, | |
| accountUsersPerPage: 10, | |
| accountUsersFilter: null, | |
| accountUsersSearch: null, |
This file contains hidden or 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="SignIn"> | |
| <SignInForm /> | |
| </div> | |
| </template> | |
| <style lang="scss" scoped> | |
| .SignIn { | |
| position: relative; | |
| padding: 90px 0; |
This file contains hidden or 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> | |
| <form | |
| class="SignInForm" | |
| autocomplete="off" | |
| @submit.prevent="login" | |
| > | |
| <!-- title start --> | |
| <AppTitle bold="Sign in" /> |
This file contains hidden or 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
| export const state = () => ({ | |
| signinLoading: false, | |
| logoutLoading: false, | |
| }) | |
| export const getters = { | |
| signinLoading: (state) => state.signinLoading, | |
| logoutLoading: (state) => state.logoutLoading, | |
| } |
This file contains hidden or 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
| // pages/index.js | |
| import React, { useEffect } from 'react' | |
| import CookiesUtils from '../utils/cookies' | |
| const HomePage = () => { | |
| useEffect(() => { | |
| CookiesUtils.getItem('server-side-cookies') // Output: Aloha from server side cookies! |
This file contains hidden or 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
| // pages/_app.js | |
| import React from 'react' | |
| import CookiesUtils from '../utils/cookies' | |
| const App = () => { | |
| // ... | |
| } |
This file contains hidden or 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 { Alert } from 'react-native' | |
| import axios from 'axios' | |
| import SocketService from './socket' | |
| import store, { actions } from '../store' | |
| import config from '../config' |
NewerOlder