implement a multi-file template interpreter
This commit is contained in:
13
examples/react-app-generator/templates/app-component.tmpl
Normal file
13
examples/react-app-generator/templates/app-component.tmpl
Normal file
@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
import AppRouter from './router';
|
||||
// import './App.css';
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<div className="App">
|
||||
<AppRouter />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
Reference in New Issue
Block a user