mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-28 05:58:38 +02:00
feat: prototype dev server
This commit is contained in:
parent
2ab412e563
commit
333574efe6
11 changed files with 524 additions and 38 deletions
10
lib/core/index.js
Normal file
10
lib/core/index.js
Normal 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'));
|
Loading…
Add table
Add a link
Reference in a new issue