feat: prototype dev server

This commit is contained in:
endiliey 2018-07-28 20:25:38 +08:00
parent 2ab412e563
commit 333574efe6
11 changed files with 524 additions and 38 deletions

10
lib/core/index.js Normal file
View file

@ -0,0 +1,10 @@
import React from 'react';
import {render} from 'react-dom';
import theme from '@theme';
class App extends React.Component {
render() {
return <div>Hello world! {theme()} </div>;
}
}
render(<App />, document.getElementById('app'));