mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-21 15:53:45 +02:00
Move everything back to vue SFCs
This commit is contained in:
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>
|
||||
Reference in New Issue
Block a user