File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ interface SiteOptions {
1313 stylesheets ?: string [ ] ;
1414 /** Title for main page of the demo */
1515 title ?: string ;
16- /** Site subpath for components. e.g. 'components'. default: ' components' */
16+ /** Site subpath for components. default: 'components' i.e. 'https://patternflyelements.org/ components' */
1717 componentSubpath ?: string ;
1818}
1919
Original file line number Diff line number Diff line change @@ -117,7 +117,6 @@ function pfeDevServerPlugin(options: PfeDevServerInternalConfig): Plugin {
117117 ctx . redirect ( `/${ elementsDir } /${ element } /${ fileName } .ts` ) ;
118118 } )
119119 // Redirect `components/jazz-hands/demo/*.js|css` to `components/pf-jazz-hands/demo/*.js|css`
120- // If request is `components/jazz-hands/demo/some-other-demo/*.js|css redirect files to `components/pf-jazz-hands/demo/*.js|css`
121120 . get ( `/${ componentSubpath } /:element/demo/:demoSubDir?/:fileName.:ext` , async ( ctx , next ) => {
122121 const { element, fileName, ext } = ctx . params ;
123122 if ( ! element . includes ( tagPrefix ) ) {
You can’t perform that action at this time.
0 commit comments