chore(markdown): Restructuring dev docs
This commit is contained in:
parent
9ef46c502a
commit
d42d9a9377
114 changed files with 246 additions and 1462 deletions
20
markdown/dev/reference/api/config/inject/en.md
Normal file
20
markdown/dev/reference/api/config/inject/en.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
title: inject
|
||||
---
|
||||
|
||||
```js
|
||||
inject: {
|
||||
front: "back"
|
||||
}
|
||||
```
|
||||
|
||||
An object of key/value pairs of parts. The `value` part will be injected in the `key` part.
|
||||
|
||||
By *injected* we mean rather than starting out with a fresh part, you'll get a part that
|
||||
has the points, paths, and snippets of the `value` part.
|
||||
|
||||
<Tip>
|
||||
|
||||
See [the Howto on Part inheritance](/howtos/code/inject) for an example.
|
||||
|
||||
</Tip>
|
Loading…
Add table
Add a link
Reference in a new issue