Skip to content
New issue

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

Adding styleguide to Nuxt app with single-spa #1208

Open
lipton-v opened this issue Mar 25, 2024 · 0 comments
Open

Adding styleguide to Nuxt app with single-spa #1208

lipton-v opened this issue Mar 25, 2024 · 0 comments

Comments

@lipton-v
Copy link

Hello. I have an existing Nuxt app and use it as a root app (register there Nuxt subapps). Everything works. But I need to use a common styleguide which is available in main app and subapps. According to documentation I just need a root config with an index.ejs file and add a script tag. Something like <script>System.import('@vue-mf/styleguide');</script> but I have only nuxt.config.js file. How to do that?

styleguide/src/set-public-path.js

import { setPublicPath } from "systemjs-webpack-interop";
setPublicPath("@vue-mf/styleguide");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant