-
Notifications
You must be signed in to change notification settings - Fork 48
chore(vue): initialize vue.js sample app #52
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
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updste the title
recipes/vue-vite/package.json
Outdated
| @@ -0,0 +1,42 @@ | |||
| { | |||
| "name": "vue-vite", | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update app name
recipes/vue-vite/README.md
Outdated
| ## Getting Started | ||
|
|
||
| ### Prerequisites | ||
| - `Node.js` (version 10 or above). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use asgardeo icon
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| // 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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", | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "exclude": [], | ||
| "compilerOptions": { | ||
| "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.vitest.tsbuildinfo", | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| @@ -0,0 +1,58 @@ | |||
| <!-- | |||
| * Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com). | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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