Preview Utilidies
Preview utilities
Preview path
You can use the link_to_preview helper to get the path to a preview in your documentation files, if they have the .erb extension.
Examples:
[Table](/lookbook/inspect/components/table/sortable)# Will generate: [Table](/lookbook/inspect/components/table/data)[Accordion](/lookbook/inspect/components/accordion/default)# Will generate: [Table](/lookbook/inspect/components/accordion/default)[Table](/lookbook/inspect/components/table/slotted)# Will generate: [Table](/lookbook/inspect/components/table/slotted)