Skip to content

Commit

Permalink
initial web API
Browse files Browse the repository at this point in the history
  • Loading branch information
User Jbelich committed Jan 27, 2019
1 parent 1d2ead4 commit 867aa6e
Show file tree
Hide file tree
Showing 10 changed files with 858 additions and 435 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.*/
node_modules*
*-lock.json
dist/*
*.bundle.js
11 changes: 11 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = function (api) {
const presets = [ "@babel/preset-env","@babel/preset-react" ];
const plugins = [ 'react-hot-loader/babel', '@babel/plugin-proposal-class-properties' ];

api.cache(false);

return {
presets,
plugins
};
}
8 changes: 8 additions & 0 deletions client.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react'
import { render } from 'react-dom'
import App from 'App'

const root = document.createElement('div')
document.body.appendChild(root)

render(<App />, root)
Loading

0 comments on commit 867aa6e

Please sign in to comment.