You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to get some data in a markdown file,and use it in a vue components,
I've tried import the md file in <script>,then I got an object with a render function
then I try this:
// this README file contains progress data of all pages,I want to get it and show it on this ProgressBar.vueimportreadmePagefrom"../../README.md"exportdefault{name: 'ProgressBar',mounted(){letpageData=readmePage.render.call(this)}}
now the pageData is a vnode,but it seems mistakenly compiled,only has a div level
The text was updated successfully, but these errors were encountered:
I want to get some data in a markdown file,and use it in a vue components,
I've tried import the md file in <script>,then I got an object with a render function
then I try this:
now the pageData is a vnode,but it seems mistakenly compiled,only has a div level
The text was updated successfully, but these errors were encountered: