How to have non reactive data on a single file component

Is there a way/is there a standard way to have non reactive data on Single file components?
I have a number of attributes i’d like to set only once and not have the reactivity overhead
Something like below but i dont want the greeting to be reactive

<script>
module.exports = {
  data: function () {
    return {
      greeting: ''
    }
  }
  created: function () {
        this.greeting =  "some value worked out that wont change"
}
</script>

You can use Object.freeze to avoid the reactivity.

Since Object.freeze only receive an object (not string), you can either:

  1. Pass the whole data as Object.freeze
data: function () {
    return Object.freeze({
      greeting: 'some value that wont change'
    })
  }
  1. Create a specific object that is frozen
data: function () {
    return {
      frozen: Object.freeze({
        greeting: 'some value that wont change'
      })
    }
  }

// this.frozen.greeting

You can use $options

the variable begin with $ will not be reactive in vue