Pragmatists / microfrontends

105 stars 40 forks source link

Using Vuejs as a sub app #4

Open ericprom opened 4 years ago

ericprom commented 4 years ago

Can you show me how to use vuecli to create a sub app?

joeldenning commented 4 years ago

Hi @ericprom, here are some examples with vue cli:

https://github.com/vue-microfrontends https://github.com/vue-microfrontends/navbar

They were created with the following:

npm init single-spa

(The create-single-spa CLI invokes Vue CLI)

Alternatively, you can vue cli yourself, as documented here:

vue create my-app
vue add single-spa