leezng / vue-json-pretty

A JSON tree view component that is easy to use and also supports data selection.

Home Page:https://leezng.github.io/vue-json-pretty

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

style prop issue

douglassllc opened this issue · comments

vue: v2.7.10
vue-json-pretty: v2.1.x

I receive the following warning and the component does not renderer. However, v1.9.2 does not experience this same warning and the component renderers.

[Vue warn]: "style" is a reserved attribute and cannot be used as component prop.

2.x works on vue3.