Vue.js-based Github browsing thing.
Very much in-progress....
<script src="dist/bundle.js"></script>
This includes Vue.js, marked.js (for Markdown parsing), and all of vue-github.
Currently, vue-github exposes one global VueGithub
for use in inline
<script></script>
's as seen in the various HTML example files in this repo.
vue-github now uses Browserify. To build your own
bundle.js
variation, checkout src/main.js
which does all the initial
require()
ing.
Then do (assuming you have node.js & npm installed):
npm install
npm run dev
...and dist/bundle.js
will have your variation.
npm run test
to run tests in the command line. Or npm run test-browser
to
generate a test/test-bundle.js
file to be use with test/test.html
.
Due to CORS settings at GitHub not likeing file:///
-based requests, you'll
want to load the test page via localhost.
python -m SimpleHTTPServer
Then open http://localhost:8000/test/test.html
should get you the in-browser
tests. Enjoy! and Contribute!!1! 😺