Svelte is a radical new approach to building user interfaces. Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app.
schemaVersion: 2.2.0
metadata:
name: nodejs-svelte
displayName: Svelte
description: "Svelte is a radical new approach to building user interfaces.
Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app."
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/svelte.svg
tags:
- Node.js
- Svelte
projectType: Svelte
language: TypeScript
provider: Red Hat
version: 1.2.1
starterProjects:
- name: nodejs-svelte-starter
git:
checkoutFrom:
revision: main
remotes:
origin: https://github.com/devfile-samples/devfile-stack-nodejs-svelte.git
components:
- container:
endpoints:
- name: https-svelte
targetPort: 3000
protocol: https
image: registry.access.redhat.com/ubi8/nodejs-18:1-102
args: ['tail', '-f', '/dev/null']
memoryLimit: 1024Mi
name: runtime
commands:
- exec:
commandLine: npm install
component: runtime
group:
isDefault: true
kind: build
workingDir: ${PROJECT_SOURCE}
id: install
- exec:
commandLine: npm run dev
component: runtime
group:
isDefault: true
kind: run
workingDir: ${PROJECT_SOURCE}
id: run
schemaVersion: 2.2.0
metadata:
name: nodejs-svelte
displayName: Svelte
description: "Svelte is a radical new approach to building user interfaces.
Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app."
icon: https://raw.githubusercontent.com/devfile-samples/devfile-stack-icons/main/svelte.svg
tags:
- Node.js
- Svelte
projectType: Svelte
language: TypeScript
provider: Red Hat
version: 1.2.1
starterProjects:
- name: nodejs-svelte-starter
git:
checkoutFrom:
revision: main
remotes:
origin: https://github.com/devfile-samples/devfile-stack-nodejs-svelte.git
components:
- container:
endpoints:
- name: https-svelte
targetPort: 3000
protocol: https
image: registry.access.redhat.com/ubi8/nodejs-18:1-102
args: ['tail', '-f', '/dev/null']
memoryLimit: 1024Mi
name: runtime
commands:
- exec:
commandLine: npm install
component: runtime
group:
isDefault: true
kind: build
workingDir: ${PROJECT_SOURCE}
id: install
- exec:
commandLine: npm run dev
component: runtime
group:
isDefault: true
kind: run
workingDir: ${PROJECT_SOURCE}
id: run