Add tool edit page
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
import Playground from '@/components/Playground'
|
||||
import templates from '@/components/Playground/templates'
|
||||
|
||||
const Tools = () => {
|
||||
return <>1</>
|
||||
const template = templates['base']
|
||||
return (
|
||||
<Playground
|
||||
initFiles={template.files}
|
||||
initTsconfigRaw={JSON.stringify(template.tsconfig, null, 2)}
|
||||
initImportMapRaw={JSON.stringify(template.importMap, null, 2)}
|
||||
/>
|
||||
)
|
||||
}
|
||||
|
||||
export default Tools
|
||||
|
||||
Reference in New Issue
Block a user