mirror of
https://github.com/zhigang1992/docz.git
synced 2026-04-23 12:56:54 +08:00
chore: improve monorepo architecture
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"version": "0.0.0",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"start": "docz start"
|
||||
"dev": "docz dev"
|
||||
},
|
||||
"dependencies": {
|
||||
"docz": "^0.0.1",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React, { Fragment } from 'react'
|
||||
import { doc } from 'docz-react'
|
||||
import { doc } from 'docz'
|
||||
|
||||
import { Alert } from './Alert'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react'
|
||||
import { doc } from 'docz-react'
|
||||
import { doc } from 'docz'
|
||||
|
||||
import { Button } from './Button'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react'
|
||||
import { doc } from 'docz-react'
|
||||
import { doc } from 'docz'
|
||||
|
||||
doc('withProps')
|
||||
.category('Hocs')
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from 'react'
|
||||
import { doc } from 'docz-react'
|
||||
import { doc } from 'docz'
|
||||
import Markdown from 'react-markdown'
|
||||
|
||||
const description = `
|
||||
@@ -17,4 +17,4 @@ A design system can help establish a common vocabulary between everyone in an or
|
||||
doc('Overview')
|
||||
.route('/')
|
||||
.order(1)
|
||||
.description(<Markdown source={description} />)
|
||||
.description(description)
|
||||
|
||||
Reference in New Issue
Block a user