We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to deploy Catalog in a subdirectory like https://www.mysite/styleguide.
I have set the basePath to '/styleguide' in index.js
<Catalog useBrowserHistory basePath="/styleguide" title="Halo" pages={ pages } />,
But after the build in the index.html the all the paths are showing as /static/build.js rather than /styleguide/static/build.js
How can I prepend the basePath to all the assets?
Catalog Version: 3.6.0
The text was updated successfully, but these errors were encountered:
I fixed this problem with setting publicUrl="/styleguide"
publicUrl="/styleguide"
Catalog.render( { title: 'My Style Guide', publicUrl: '/styleguide', pages: [ // … ] }, );
Sorry, something went wrong.
No branches or pull requests
I want to deploy Catalog in a subdirectory like https://www.mysite/styleguide.
I have set the basePath to '/styleguide' in index.js
But after the build in the index.html the all the paths are showing as /static/build.js rather than /styleguide/static/build.js
How can I prepend the basePath to all the assets?
Catalog Version: 3.6.0
The text was updated successfully, but these errors were encountered: