Skip to content
Discussion options

You must be logged in to vote

https://vuejs.org/api/application.html#app-config-compileroptions

Important

This config option is only respected when using the full build (i.e. the standalone vue.js that can compile templates in the browser). If you are using the runtime-only build with a build setup, compiler options must be passed to @vue/compiler-dom via build tool configurations instead.

So you might have to configure it using your build tool, with Laravel Mix it might be something like the following (not sure, have not tested this):

mix.vue({
  version: 3,
  options: {
    compilerOptions: {
      isCustomElement: tag => tag.startsWith('ion-')
    },
  },
})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ADamCarraway
Comment options

Answer selected by ADamCarraway
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants