Blame view

node_modules/vue/src/platforms/web/compiler/options.js 516 Bytes
aaac7fed   liuqimichale   add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  /* @flow */
  
  import {
    isPreTag,
    mustUseProp,
    isReservedTag,
    getTagNamespace
  } from '../util/index'
  
  import modules from './modules/index'
  import directives from './directives/index'
  import { genStaticKeys } from 'shared/util'
  import { isUnaryTag, canBeLeftOpenTag } from './util'
  
  export const baseOptions: CompilerOptions = {
    expectHTML: true,
    modules,
    directives,
    isPreTag,
    isUnaryTag,
    mustUseProp,
    canBeLeftOpenTag,
    isReservedTag,
    getTagNamespace,
    staticKeys: genStaticKeys(modules)
  }