Skip to content

gioboa/qwik-microfrontend-starter

Repository files navigation

Qwik host and remote

Getting started

From this directory execute:

pnpm install
pnpm build.packages
pnpm dev

or

pnpm preview

Open your browser at http://localhost:4173/ to see the amazing result

screenshot

Create a new remote

create a new qwik app under /apps

pnpm create qwik@latest

change directory to the new app

cd myproj

edit package.json

  • change the name to your new app name
  • remove all devDependencies and add the dependencies from the /packages instead
	"devDependencies": {
		"@qwik-microfrontend/mfe": "workspace:^1.0.0",
		"@qwik-microfrontend/ui": "workspace:^1.0.0"
	}

edit vite.config.ts and add base path

export default defineConfig((): UserConfig => {
	return {
		plugins: [qwikCity(), qwikVite(), tsconfigPaths()],
		base: '/myproj/',

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •