Skip to content

Commit

Permalink
Merge pull request #579 from dnischeta/add-vue-template
Browse files Browse the repository at this point in the history
Add vue.js template into create-mini-app
  • Loading branch information
heyqbnk authored Dec 3, 2024
2 parents 2fdba9f + b73bccf commit d1ca066
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/rare-eels-shave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@telegram-apps/create-mini-app": minor
---

Add vue.js template.
2 changes: 1 addition & 1 deletion apps/docs/packages/telegram-apps-create-mini-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ your application by sequentially prompting for the following information:
|----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Language** | Choose between **TypeScript** or **JavaScript**. |
| **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. |
| **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/> |
| **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/> |

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const sections: Section[] = [
{ title: 'Solid.js', value: 'solid' },
{ title: 'Next.js', value: 'next' },
{ title: 'jQuery', value: 'jquery' },
{ title: 'Vue.js', value: 'vue' },
{ title: 'None', value: 'none' },
],
},
Expand Down
1 change: 1 addition & 0 deletions packages/create-mini-app/src/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const settings = {
solid: 'solidjs-template',
next: 'nextjs-template',
jquery: 'typescript-template',
vue: 'vuejs-template',
},
tsdk: {
react: 'reactjs-tsdk-template',
Expand Down
2 changes: 1 addition & 1 deletion packages/create-mini-app/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ export interface Template {

export type Language = 'js' | 'ts';
export type SDK = 'tsdk' | 'telegramApps';
export type Framework = 'solid' | 'react' | 'next' | 'jquery' | 'none';
export type Framework = 'solid' | 'react' | 'next' | 'jquery' | 'vue' | 'none';

0 comments on commit d1ca066

Please sign in to comment.