Example file path setting
See original GitHub issueHi! In my project, I need to download all the components that have to be documented to node_modules. As a result, each one of them is located in a separate folder. The structure is the following:
node_modules
- project
-
component_1 -
component -
component_1.vue -
dev -
component_1_example.vue -
component_2 -
component -
component_2.vue -
dev -
component_2_example.vue
In order to get access to them, I use this path and it works:
module.exports = { components: 'node_modules/project/**/component/*.vue', }
What is the proper way to assign an example to them? I guess getExampleFilename() has to be used. Could you give me a hand?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
File path formats on Windows systems | Microsoft Learn
In this article, learn about file path formats on Windows systems, such as traditional DOS paths, DOS device paths, and universal naming ...
Read more >What Is a Path? (And Other File System Facts)
A path is either relative or absolute. An absolute path always contains the root element and the complete directory list required to locate...
Read more >File and Directory Names: File, Path, Paths (Java Files Tutorial)
As seen in the table, absolute paths on Windows start with a drive letter and a colon; directories are separated by a backslash...
Read more >HTML File Paths - W3Schools
A file path describes the location of a file in a web site's folder structure. File Path Examples. Path, Description. <img src="picture.jpg">, The...
Read more >Relative and absolute paths, in the file system and on the web ...
The simplest example of relative path is just a file name, like index.html . So one should be careful with relative paths. If...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It is not expected. Glad you found a workaround. I will investigate.
@elevatebart I used
npm run styleguide😃