Skip to content
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 opened this issue Feb 13, 2017 · 1 comment
Closed

Vue template warnings are back #60

miljan-aleksic opened this issue Feb 13, 2017 · 1 comment

Comments

@miljan-aleksic
Copy link

miljan-aleksic commented Feb 13, 2017

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()
]
@znck
Copy link
Member

znck commented Feb 14, 2017

Yeah! They are. It would be finished in next release. (Already fixed in v2.3-beta.2)

Just some refactoring left. May be by this weekend (https://github.com/vuejs/rollup-plugin-vue/tree/refactoring)

@znck znck mentioned this issue Feb 27, 2017
@znck znck closed this as completed in #63 Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants