chore(vue): initialize vue.js sample app#52
Conversation
recipes/vue-vite/README.md
Outdated
| @@ -0,0 +1,45 @@ | |||
| # vue-vite | |||
|
|
|||
| This template should help get you started developing with Vue 3 in Vite. | |||
There was a problem hiding this comment.
Let's update the readme to match the sample app
recipes/vue-vite/index.html
Outdated
| <meta charset="UTF-8" /> | ||
| <link rel="icon" href="/favicon.ico" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <title>Vite App</title> |
recipes/vue-vite/package.json
Outdated
| @@ -0,0 +1,42 @@ | |||
| { | |||
| "name": "vue-vite", | |||
recipes/vue-vite/README.md
Outdated
| ## Getting Started | ||
|
|
||
| ### Prerequisites | ||
| - `Node.js` (version 10 or above). |
There was a problem hiding this comment.
Node 18 reaches EOL on April, 2025. Therefore no point in mentioning 10 (Vite and PNPM wouldn't even run on node v10). Let's update this to v20 or above.
recipes/vue-vite/README.md
Outdated
|
|
||
| ## Contribute | ||
|
|
||
| Please read [Contributing to the Code Base](http://wso2.github.io/) for details on our code of conduct, and the process for submitting pull requests to us. |
There was a problem hiding this comment.
Let's point to CONTRIBUTING.md in repo root.
recipes/vue-vite/README.md
Outdated
|
|
||
| ### Reporting Issues | ||
|
|
||
| We encourage you to report issues, improvements, and feature requests by creating [Github Issues](https://github.com/asgardeo/asgardeo-auth-vue-sdk/issues). |
There was a problem hiding this comment.
url should be https://github.com/asgardeo/web-ui-sdks/issues
recipes/vue-vite/eslint.config.ts
Outdated
| name: 'app/files-to-lint', | ||
| files: ['**/*.{ts,mts,tsx,vue}'], | ||
| }, | ||
|
|
There was a problem hiding this comment.
Let's use asgardeo icon
There was a problem hiding this comment.
Let's use asgardeo logo
recipes/vue-vite/vite.config.ts
Outdated
| import vue from '@vitejs/plugin-vue' | ||
| import vueDevTools from 'vite-plugin-vue-devtools' | ||
|
|
||
| // https://vite.dev/config/ |
There was a problem hiding this comment.
| // https://vite.dev/config/ |
recipes/vue-vite/package.json
Outdated
| "jsdom": "^26.0.0", | ||
| "npm-run-all2": "^7.0.2", | ||
| "prettier": "^3.5.1", | ||
| "typescript": "~5.7.3", |
There was a problem hiding this comment.
Let's update the TS version to workspace version
recipes/vue-vite/tsconfig.node.json
Outdated
| "compilerOptions": { | ||
| "noEmit": true, | ||
| "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo", | ||
|
|
| "exclude": [], | ||
| "compilerOptions": { | ||
| "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.vitest.tsbuildinfo", | ||
|
|
| @@ -0,0 +1,58 @@ | |||
| <!-- | |||
| * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). | |||
There was a problem hiding this comment.
Remove the boilerplate files. Check others files as well
Purpose
This PR initializes the Vue-Vite sample app with essential configurations:
Related Issues
Related PRs
Checklist
Security checks