Skip to content

Commit d1ca066

Browse files
authored
Merge pull request #579 from dnischeta/add-vue-template
Add vue.js template into create-mini-app
2 parents 2fdba9f + b73bccf commit d1ca066

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

.changeset/rare-eels-shave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@telegram-apps/create-mini-app": minor
3+
---
4+
5+
Add vue.js template.

apps/docs/packages/telegram-apps-create-mini-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ your application by sequentially prompting for the following information:
4949
|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
5050
| **Language** | Choose between **TypeScript** or **JavaScript**. |
5151
| **SDK** | **• tma.js** [@telegram-apps/sdk](https://www.npmjs.com/package/@telegram-apps/sdk) <br/>A TypeScript library for seamless communication with Telegram Mini Apps functionality. <br/> **• Telegram SDK** [@twa-dev/sdk](https://www.npmjs.com/package/@twa-dev/sdk)<br/>This package allows you to work with the SDK as an npm package. |
52-
| **Frameworks** | **• React.js** [template](https://github.com/Telegram-Mini-Apps/reactjs-template)<br/> **• Next.js** [template](https://github.com/Telegram-Mini-Apps/nextjs-template)<br/> **• Solid.js** [template](https://github.com/Telegram-Mini-Apps/solidjs-js-template)<br/> |
52+
| **Frameworks** | **• React.js** [template](https://github.com/Telegram-Mini-Apps/reactjs-template)<br/> **• Next.js** [template](https://github.com/Telegram-Mini-Apps/nextjs-template)<br/> **• Solid.js** [template](https://github.com/Telegram-Mini-Apps/solidjs-js-template)<br/> **• Vue.js** [template](https://github.com/Telegram-Mini-Apps/vuejs-template)<br/> |
5353

5454
### 3. Git Remote Repository URL (Optional)
5555

packages/create-mini-app/src/prompts/promptTemplate/sections.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export const sections: Section[] = [
2626
{ title: 'Solid.js', value: 'solid' },
2727
{ title: 'Next.js', value: 'next' },
2828
{ title: 'jQuery', value: 'jquery' },
29+
{ title: 'Vue.js', value: 'vue' },
2930
{ title: 'None', value: 'none' },
3031
],
3132
},

packages/create-mini-app/src/templates.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const settings = {
3333
solid: 'solidjs-template',
3434
next: 'nextjs-template',
3535
jquery: 'typescript-template',
36+
vue: 'vuejs-template',
3637
},
3738
tsdk: {
3839
react: 'reactjs-tsdk-template',

packages/create-mini-app/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ export interface Template {
1515

1616
export type Language = 'js' | 'ts';
1717
export type SDK = 'tsdk' | 'telegramApps';
18-
export type Framework = 'solid' | 'react' | 'next' | 'jquery' | 'none';
18+
export type Framework = 'solid' | 'react' | 'next' | 'jquery' | 'vue' | 'none';

0 commit comments

Comments
 (0)