-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
webpage vs Vue component #140
Comments
TL;DRRule of thumb: If you can do something solely with Webpages (Markdown + some plugins), it’s best not to create a That is a great question, @epaulson. Sorry about the delay, I’m traveling at the moment. Thank you for your patience. The original design of the website required every page to be a Gridsome Page/Template - basically About Markdown Webpages and types of
<div>
<MyHugeReusableComponent :data=“passingDataForTheComponentToRender”/>
<MyHugeReusableComponent :data=“passingSomeOtherDataForTheComponentToRender”/>
</div> I do plan to populate Members.vue from a JSON file in the future. |
This is mostly a question for @shreyasnagare (and don't worry about answering it for a while, if you're on break take some time off!)
When should something be a markdown file and when should something be a .Vue component on the site? For example,
we've got webpages/consortium.md, but we also have src/Pages/Members.vue
I probably just made webpages/consoritum.md not knowing what I was doing - should I migrate the consortium page to be a Vue thing? Or, did you just future-proof Members.vue in case we wanted to have like a members.json that Members.vue could automatically generate itself from?
The text was updated successfully, but these errors were encountered: