Dawid M
Dawid M

Reputation: 51

Change delimiters in petite-vue

I want something like this:

Vue.config.delimiters = ['${', '}']; 

But in petite vue.

PetiteVue object doesn't have config. I want this setting to be global.

If it is possible this also can be in

v-scope="{{here}}".

Upvotes: 0

Views: 530

Answers (1)

Dawid M
Dawid M

Reputation: 51

Ok, in v0.3+ is added I was using 0.2.2.

Here is the code:

<script src="https://unpkg.com/petite-vue"></script>
<script>
    PetiteVue.createApp({ $delimiters: ['${', '}'] }).mount()
</script>

Upvotes: 5

Related Questions