Skip to content

CUAHSI/json-renderer

 
 

Repository files navigation

json-renderer

We've taken the iGuide dataset landing page and configured it so that it renders a single dataset.

Dataset rendered is public/dataset.js. Note that this is a .js file. This file should export a default JS object named dataset.

To create the static bundle of files:

nvm use 14
npm install
npm run build

This will build everything into dist/. You can throw the contents of dist/ into a bucket and if the bucket is made public, opening the index.html file should render the dataset in the browser (note this depends a bit on the bucket provider and base urls).

Alternatively, you can use the file protocol locally: just open dist/index.html in your browser.

The dataset.js file is NOT included in the vue cli bundling intentionally, so that after building, one can modify the dist/dataset.js file and any edits will be rendered by the static bundle without rebuilding.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

About

Boiled down version of the I-GUIDE Catalog Frontend landing page

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 40.4%
  • JavaScript 16.2%
  • Vue 15.9%
  • CSS 13.8%
  • SCSS 5.9%
  • HTML 3.9%
  • Other 3.9%