This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@type": "embed_visualization", | |
"vis_url": "http://localhost:3000/en/admin/en/sandbox/eu-27-passenger-transport-activity-gpkm-for-different-transport-modes", | |
"visualization": { | |
"@id": "http://localhost:3000/en/admin/en/sandbox/eu-27-passenger-transport-activity-gpkm-for-different-transport-modes", | |
"chartData": { | |
"data": [ | |
{ | |
"hoverlabel": { | |
"namelength": -1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# base image | |
FROM node:12.2.0-alpine | |
# set working directory | |
WORKDIR /app | |
# add `/app/node_modules/.bin` to $PATH | |
ENV PATH /app/node_modules/.bin:$PATH | |
# install and cache app dependencies |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ReactDOM.render(<App />, document.getElementById('root')); | |
registerServiceWorker(); | |
function tick(){ | |
let element=( | |
<div> | |
<h1>hello world</h1> | |
<h2>it is {new Date().toLocaleTimeString()}</h2> | |
</div> | |
); | |
ReactDOM.render(element, document.getElementById('sample')); |