Move everything back to vue SFCs
This commit is contained in:
parent
761704408e
commit
5bff8d99cc
58 changed files with 2558 additions and 2518 deletions
16
resources/assets/scripts/components/forms/CSRF.vue
Normal file
16
resources/assets/scripts/components/forms/CSRF.vue
Normal file
|
@ -0,0 +1,16 @@
|
|||
<template>
|
||||
<input type="hidden" name="_token" v-bind:value="X_CSRF_TOKEN" />
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import Vue from 'vue';
|
||||
|
||||
export default Vue.extend({
|
||||
name: 'CSRF',
|
||||
data: function () {
|
||||
return {
|
||||
X_CSRF_TOKEN: window.X_CSRF_TOKEN,
|
||||
};
|
||||
},
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue