feat: custom formatters

This commit is contained in:
Evan You
2020-10-13 11:50:09 -04:00
parent ffdb05e1f1
commit 6ba7ba47d5
5 changed files with 208 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
import { setDevtoolsHook } from '@vue/runtime-dom'
import { setDevtoolsHook, initCustomFormatter } from '@vue/runtime-dom'
import { getGlobalThis } from '@vue/shared'
export function initDev() {
@@ -12,5 +12,7 @@ export function initDev() {
`You are running a development build of Vue.\n` +
`Make sure to use the production build (*.prod.js) when deploying for production.`
)
initCustomFormatter()
}
}