https://github.com/lukasholzer/nx-package-based-nuxt-svelte
Sample repository with nuxt svelte and web components
https://github.com/lukasholzer/nx-package-based-nuxt-svelte
nuxt-3 nx nx-workspace package-based pnpm pnpm-workspace svelte typescript
Last synced: about 1 month ago
JSON representation
Sample repository with nuxt svelte and web components
- Host: GitHub
- URL: https://github.com/lukasholzer/nx-package-based-nuxt-svelte
- Owner: lukasholzer
- Created: 2023-04-26T13:10:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-26T19:24:32.000Z (about 3 years ago)
- Last Synced: 2025-08-31T21:37:37.210Z (10 months ago)
- Topics: nuxt-3, nx, nx-workspace, package-based, pnpm, pnpm-workspace, svelte, typescript
- Language: TypeScript
- Homepage:
- Size: 651 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nx with Nuxt and Svelte
you can build all apps with `nx run-many --target build` this will execute the build command on every package with a `build` npm script.
Individual apps can be built by running:
```
# nuxt app
nx build nuxt-app
# svelte app
nx build svelte-app
```
Consecutive executions are cached see image

it can be fine-grained what invalidates the cache or not in a `package.json` of a package.
```json
{
"nx": {
"targets": {
"build": {
"inputs": ["{projectRoot}/src/**/*", "!{projectRoot}/**/*.test.ts"],
"outputs": ["{projectRoot}/.svelte-kit"]
}
}
}
}
```