fix(v-on): capitalize dynamic event names

This commit is contained in:
Evan You
2020-07-13 17:36:46 -04:00
parent 576344d2c3
commit 9152a89016
5 changed files with 23 additions and 16 deletions

View File

@@ -225,19 +225,7 @@ export {
createCommentVNode,
createStaticVNode
} from './vnode'
// a bit of ceremony to mark these internal only here because we need to include
// them in @vue/shared's typings
import { toDisplayString, camelize } from '@vue/shared'
/**
* @private
*/
const _toDisplayString = toDisplayString
/**
* @private
*/
const _camelize = camelize
export { _toDisplayString as toDisplayString, _camelize as camelize }
export { toDisplayString, camelize, capitalize } from '@vue/shared'
// For test-utils
export { transformVNodeArgs } from './vnode'