Existing Component
是
Component Name
el-table
Description
el-table 等组件无法在nuxt中进行预渲染,绑定的数据不会渲染到html中,数据还是js。
nuxt代码:
渲染完毕之后页面html:
|
|
|
|window.NUXT={"layout":"default","data":[{"columns1":[{"title":"Name","key":"name"},{"title":"Age","key":"age"},{"title":"Address","key":"address"}],"data1":[{"name":"John Brown","age":18,"address":"New York No. 1 Lake Park"},{"name":"Jim Green","age":24,"address":"London No. 1 Lake Park"}]}],"error":null,"serverRendered":true};
1条答案
按热度按时间e0uiprwp1#
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.