config.js 991 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. export default {
  2. /**
  3. * Preserve whitespaces between elements.
  4. */
  5. preserveWhitespace: true,
  6. /**
  7. * Whether to suppress warnings.
  8. *
  9. * @type {Boolean}
  10. */
  11. silent: false,
  12. /**
  13. * Check if a tag is reserved so that it cannot be registered as a
  14. * component. This is platform-dependent and may be overwritten.
  15. */
  16. isReservedTag: () => false,
  17. /**
  18. * Check if a tag is an unknown element.
  19. * Platform-dependent.
  20. */
  21. isUnknownElement: () => false,
  22. /**
  23. * List of asset types that a component can own.
  24. *
  25. * @type {Array}
  26. */
  27. _assetTypes: [
  28. 'component',
  29. 'directive',
  30. 'transition'
  31. ],
  32. /**
  33. * List of lifecycle hooks.
  34. *
  35. * @type {Array}
  36. */
  37. _lifecycleHooks: [
  38. 'init',
  39. 'created',
  40. 'beforeMount',
  41. 'mounted',
  42. 'ready',
  43. 'beforeUpdate',
  44. 'updated',
  45. 'beforeDestroy',
  46. 'destroyed'
  47. ],
  48. /**
  49. * Max circular updates allowed in a batcher flush cycle.
  50. */
  51. _maxUpdateCount: 100
  52. }