Something you need to understand. VueJS is not like jQuery so the things you need to implement you just need to use native javascript.
So what you need to do can be done in two ways.
Using refs from vue
<input type="hidden" name="test" ref="myTestField">
<script>
new Vue ({
created () {
console.log(this.$refs.myTestField.value)
}
})
</script>
Second way only native javascript
<input type="hidden" name="test">
<script>
new Vue ({
created () {
const field = document.querySelector("input[name=test]").value
console.log(field)
}
})
</script>
In both examples i used the created method from Vue, but you can use in any other, computed values, custom methods, etc...