Skip to content

Commit

Permalink
fix: replace version check
Browse files Browse the repository at this point in the history
  • Loading branch information
therufa committed Mar 12, 2021
1 parent 46971bf commit 7b56c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import './icons.css'
const { h: v3h } = require('vue') // import vue3's render function
const isV2 = v3h === undefined

const versionDependentOpts = Vue
const versionDependentOpts = isV2
? { functional: true } // for v2.x
: {} // for v3.x

Expand Down

0 comments on commit 7b56c61

Please sign in to comment.