Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Vue template warnings are back #60

Closed
@miljan-aleksic

Description

@miljan-aleksic

Similar as in issue #55 I am getting the template validator warnings. Using version 2.2.20 and Vue 2.1.10.

Warning in lib/table/table.vue:
 
  12 |         @click="e => emitClickRow(e, row)">
  13 |         <row-cells :row="row" :rowIndex="rowIndex"></row-cells>
    |         ^
  14 |       </tr>

  Tag <row-cells> cannot appear inside <table> due to HTML content restrictions. It will be hoisted out of <table> by the browser.

My Rollup plugins configuration:

plugins: [
  alias(Object.assign({
    resolve: ['.jsx', '.js']
  }, require('./alias'), opts.alias)),
  nodeResolve({
    extensions: [ '.js', '.json', '.vue' ]
  }),
  vue({
    compileTemplate: true
  }),
  buble({
    objectAssign: 'Object.assign',
    jsx: 'h'
  }),
  nodeResolve({
    jsnext: true,
    main: true,
    browser: true
  }),
  commonjs()
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions