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

Non-javascript-friendly site #21

Open
3 tasks
bengm opened this issue Jun 7, 2019 · 3 comments
Open
3 tasks

Non-javascript-friendly site #21

bengm opened this issue Jun 7, 2019 · 3 comments

Comments

@bengm
Copy link
Contributor

bengm commented Jun 7, 2019

Find a solution to keep the site design, etc., but use a static site generator (jekyll/similar) for the site build. Other solutions could work. Acceptance criteria:

  • Site is no harder to update / add content to
  • Works in browsers without javascript
  • Still works w/ simple github pages hosting model
@bengm
Copy link
Contributor Author

bengm commented Jun 7, 2019

Did some research, and this will take a little work. Options explored:

Jekyll: This is the default option for github pages site generation. Has templating, lots of other practical features and flexibility. Allows maintaining content in relatively simple markdown & yaml formats. It will take some effort to unwind the css & js embedded in the current vue app, and replicate some of the js/css build process. Might be easy with a bit of consultation.

Vuepress: I'm not 100% on the scope of this, it is still in pre-release with lots of disclaimers, but seems to generate static sites based on vue. Benefit would be building on what we already have (vue). Drawback is that: 1) it might not do what we need, seems to be also a gitbook type of use case; 2) it's not mature, self-described as buggy.

@RobAWilkinson
Copy link

RobAWilkinson commented Oct 7, 2019

Gatsby
Easy to use react based static site generator, things gracefully degrade as needed if browsers dont have JS. Drawback: lots of work to refactor and convert to react from Vue.

@bengm I've heard a few folks have success with Vuepress.

@openbrian
Copy link

I was getting a reload issue. The home page without #/ route was a white page. I thought it might be a JS issue. Now that I see other caching issues, maybe that's it. A hard refresh worked.

But while I'm here, let me suggest https://nuxtjs.org/ static site generator.

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

3 participants