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
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/',