'use strict';

import React from 'react';
import ReactDOM from 'react-dom';

System.import('./src/shared/components/Card/Card').then((content) => {
  console.log('loaded in browser');
  const Content = content.default;
  return ReactDOM.render(
    <Content title="Hello" />,
    document.getElementById('app')
  );
});

'use strict';

import React from 'react';
import ReactDOM from 'react-dom';

import Card from '../shared/components/Card/Card';

export default ReactDOM.render(
  <Card title="Hello" />,
  document.getElementById('app')
);

Use ES6 import instead of System.import to make style bundling work
Use ES6 import instead of System.import to make style bundling work
