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");
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