Skip to content

feat: add ember to vite create #20069

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ The supported template presets are:
| [preact](https://vite.new/preact) | [preact-ts](https://vite.new/preact-ts) |
| [lit](https://vite.new/lit) | [lit-ts](https://vite.new/lit-ts) |
| [svelte](https://vite.new/svelte) | [svelte-ts](https://vite.new/svelte-ts) |
| [ember](https://vite.new/ember) | [ember-ts](https://vite.new/ember-ts) |
| [solid](https://vite.new/solid) | [solid-ts](https://vite.new/solid-ts) |
| [qwik](https://vite.new/qwik) | [qwik-ts](https://vite.new/qwik-ts) |

Expand Down Expand Up @@ -100,7 +101,7 @@ $ deno init --npm vite my-vue-app --template vue

:::

See [create-vite](https://github.com/vitejs/vite/tree/main/packages/create-vite) for more details on each supported template: `vanilla`, `vanilla-ts`, `vue`, `vue-ts`, `react`, `react-ts`, `react-swc`, `react-swc-ts`, `preact`, `preact-ts`, `lit`, `lit-ts`, `svelte`, `svelte-ts`, `solid`, `solid-ts`, `qwik`, `qwik-ts`.
See [create-vite](https://github.com/vitejs/vite/tree/main/packages/create-vite) for more details on each supported template: `vanilla`, `vanilla-ts`, `vue`, `vue-ts`, `react`, `react-ts`, `react-swc`, `react-swc-ts`, `preact`, `preact-ts`, `lit`, `lit-ts`, `svelte`, `svelte-ts`, `ember`, `ember-ts`, `solid`, `solid-ts`, `qwik`, `qwik-ts`.

You can use `.` for the project name to scaffold in the current directory.

Expand Down
35 changes: 35 additions & 0 deletions packages/create-vite/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,41 @@ const FRAMEWORKS: Framework[] = [
},
],
},
{
name: 'ember',
display: 'Ember',
color: redBright,
variants: [
{
name: 'ember app',
display: 'Production-ready App',
color: redBright,
customCommand:
'npx ember-cli@latest new TARGET_DIR --blueprint @ember/app-blueprint --pnpm --lang en',
},
{
name: 'ember app (ts)',
display: 'Production-ready App (TypeScript)',
color: blueBright,
customCommand:
'npx ember-cli@latest new TARGET_DIR --blueprint @ember/app-blueprint --pnpm --lang en --typescript',
},
{
name: 'ember library',
display: 'Production and OSS ready Library',
color: redBright,
customCommand:
'npx ember-cli@latest addon TARGET_DIR --blueprint @ember/addon-blueprint --pnpm --typescript',
},
{
name: 'ember library (ts)',
display: 'Production and OSS ready Library (TypeScript)',
color: blueBright,
customCommand:
'npx ember-cli@latest addon TARGET_DIR --blueprint @ember/addon-blueprint --pnpm --typescript',
},
],
},
{
name: 'qwik',
display: 'Qwik',
Expand Down
Loading