message: fix(ssr): resolve server directives the same as on client
  fix
diff: import { escape } from 'web/server/util'
  import { SSR_ATTR } from 'shared/constants'
  import { RenderContext } from './render-context'
  +import { resolveAsset } from 'core/util/options'
  import { generateComponentTrace } from 'core/util/debug'
  import { ssrCompileToFunctions } from 'web/server/compiler'
  import { installSSRHelpers } from './optimizing-compiler/runtime-helpers'
  @@ -324,14 +325,16 @@ function renderStartingTag (node: VNode, context) {
  if (dirs) {
  for (let i = 0; i < dirs.length; i++) {
  const name = dirs[i].name
  - const dirRenderer = directives[name]
  - if (dirRenderer && name !== 'show') {
  + if (name !== 'show') {
  + const dirRenderer = resolveAsset(context, 'directives', name, true)
  + if (dirRenderer) {
  // directives mutate the node's data
  // which then gets rendered by modules
  dirRenderer(node, dirs[i])
  }
  }
  }
  + }
  // v-show directive needs to be merged from parent to child
  const vshowDirectiveInfo = getVShowDirectiveInfo(node)
  