single-spa / vue-cli-plugin-single-spa

https://single-spa.js.org/docs/ecosystem-vue.html#vue-cli
21 stars 11 forks source link

Add Standalone plugin and public path plugin. #23

Closed joeldenning closed 3 years ago

joeldenning commented 3 years ago

This is a breaking change and will be vue-cli-plugin-single-spa@2.0.0. The breaking part is that the public path is now set via plugin instead of code, so existing projects that set it via code need to remove their set-public-path.js file.

Additionally, this adds the serve:standalone command and the standalone-single-spa-webpack-plugin, which as of https://github.com/single-spa/standalone-single-spa-webpack-plugin/releases/tag/v1.2.0 is compatible with html-webpack-plugin@3, which is used by vue-cli.

Also this sets the webpack devtoolNamespace.

This resolves #17 and #12