Skip to content
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

Port project to Vue.js and remove need for Jekyll #1

Open
2 tasks
jpf opened this issue Jul 16, 2018 · 0 comments
Open
2 tasks

Port project to Vue.js and remove need for Jekyll #1

jpf opened this issue Jul 16, 2018 · 0 comments

Comments

@jpf
Copy link
Owner

jpf commented Jul 16, 2018

This project depends on Jekyll for creation of static files. With the use of Vue.js, we should be able to remove that dependency entirely.

Goals:

  • Instead of writing JS and SASS configuration into index.html and then re-reading those files for dynamic features. Use Vue.js to do this the same way on default load, or when using custom configuration.
  • One of the primary uses of Jekyll is parameterizing configuration variables. These should instead be defined in JS and "bound" (using whatever Vue.js calls "databinding") to the configuration and loading of the configuration (hopefully, a side-effect of this is that configuration of custom variables is handed "for free" by Vue.js)

Likely challenges:

  • The code is littered with gross setTimeout hacks, a redesign should remove as many setTimeout hacks as possible
  • Currently, this code instantiates 7 instances CodeMirror and manages the updates of all of them. Hopefully moving to Vue.js will allow us to just manage 2 (letting Vue.js handle updates to the contents of the editors)
  • CodeMirror can have issues if it is instantiated when it isn't visible. This might require some effort to make it work with Vue.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant