Skip to content

Adding styleguide to Nuxt app with single-spa  #1208

Description

@lipton-v

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions