I have certain assets that need to be included in order for my components to render correctly -- namely, fonts and images.
Is there a way I can tell docz to mount a specific folder to a path in order to serve these alongside my component library?
Thanks!
you set set public
option on your doczrc.js
:
export default {
public: '/path/to/your/public'
}
Then you can use from /public
on your code.
Is that possible to change the path to use?
I mean IE to serve from /static
instead from /public
in your code
Thanks!
you can see 'docz-core/index.js' at row that like: "const devServerConfig=()....."
Most helpful comment
Is that possible to change the path to use?
I mean IE to serve from
/static
instead from/public
in your codeThanks!