mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-03 19:32:35 +02:00
feat: prototype building dynamic react route
This commit is contained in:
parent
e8e1d5e097
commit
b1e785b6c3
6 changed files with 103 additions and 8 deletions
5
lib/theme/hello.js
Normal file
5
lib/theme/hello.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
const React = require('react');
|
||||
|
||||
const Hello = props => 'Hello';
|
||||
|
||||
module.exports = Hello;
|
|
@ -1,3 +0,0 @@
|
|||
module.exports = function theme() {
|
||||
return 'themes';
|
||||
};
|
5
lib/theme/layout.js
Normal file
5
lib/theme/layout.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
const React = require('react');
|
||||
|
||||
const Layout = props => 'Layout';
|
||||
|
||||
module.exports = Layout;
|
Loading…
Add table
Add a link
Reference in a new issue