File tree Expand file tree Collapse file tree 13 files changed +12029
-11071
lines changed
Expand file tree Collapse file tree 13 files changed +12029
-11071
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ import type { Options as WebUpdateNotificationOptions } from '@plugin-web-update
194194export default {
195195 plugins: [' @plugin-web-update-notification/umijs' ],
196196 webUpdateNotification: {
197+ versionType: ' git_commit_hash' ,
197198 logVersion: true ,
198199 checkInterval: 0.5 * 60 * 1000 ,
199200 notificationProps: {
Original file line number Diff line number Diff line change @@ -195,6 +195,7 @@ import type { Options as WebUpdateNotificationOptions } from '@plugin-web-update
195195export default {
196196 plugins: [' @plugin-web-update-notification/umijs' ],
197197 webUpdateNotification: {
198+ versionType: ' git_commit_hash' ,
198199 logVersion: true ,
199200 checkInterval: 0.5 * 60 * 1000 ,
200201 notificationProps: {
Original file line number Diff line number Diff line change 1+ # Logs
2+ logs
3+ * .log
4+ npm-debug.log *
5+ yarn-debug.log *
6+ yarn-error.log *
7+ pnpm-debug.log *
8+ lerna-debug.log *
9+
10+ node_modules
11+ .DS_Store
12+ dist
13+ dist-ssr
14+ coverage
15+ * .local
16+
17+ /cypress /videos /
18+ /cypress /screenshots /
19+
20+ # Editor directories and files
21+ .vscode /*
22+ ! .vscode /extensions.json
23+ .idea
24+ * .suo
25+ * .ntvs *
26+ * .njsproj
27+ * .sln
28+ * .sw ?
29+
30+ * .tsbuildinfo
Original file line number Diff line number Diff line change 1+ {
2+ "recommendations" : [" Vue.volar" ]
3+ }
Original file line number Diff line number Diff line change 1+ # vue-vite7
2+
3+ This template should help get you started developing with Vue 3 in Vite.
4+
5+ ## Recommended IDE Setup
6+
7+ [ VSCode] ( https://code.visualstudio.com/ ) + [ Volar] ( https://marketplace.visualstudio.com/items?itemName=Vue.volar ) (and disable Vetur).
8+
9+ ## Customize configuration
10+
11+ See [ Vite Configuration Reference] ( https://vite.dev/config/ ) .
12+
13+ ## Project Setup
14+
15+ ``` sh
16+ npm install
17+ ```
18+
19+ ### Compile and Hot-Reload for Development
20+
21+ ``` sh
22+ npm run dev
23+ ```
24+
25+ ### Compile and Minify for Production
26+
27+ ``` sh
28+ npm run build
29+ ```
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < link rel ="icon " href ="/favicon.ico ">
6+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7+ < link rel ="modulepreload " as ="script " crossorigin ="" href ="/static/js/login-19127703.js ">
8+ < title > Vite 2App</ title >
9+ </ head >
10+ < body >
11+ < div id ="app "> </ div >
12+ < script type ="module " src ="/src/main.js "> </ script >
13+ </ body >
14+ </ html >
Original file line number Diff line number Diff line change 1+ {
2+ "compilerOptions" : {
3+ "paths" : {
4+ "@/*" : [" ./src/*" ]
5+ }
6+ },
7+ "exclude" : [" node_modules" , " dist" ]
8+ }
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " vue-vite7" ,
3+ "type" : " module" ,
4+ "version" : " 0.0.0" ,
5+ "private" : true ,
6+ "engines" : {
7+ "node" : " ^20.19.0 || >=22.12.0"
8+ },
9+ "scripts" : {
10+ "dev" : " vite" ,
11+ "build" : " vite build" ,
12+ "preview" : " vite preview"
13+ },
14+ "dependencies" : {
15+ "vue" : " ^3.5.18"
16+ },
17+ "devDependencies" : {
18+ "@plugin-web-update-notification/vite" : " workspace:^" ,
19+ "@vitejs/plugin-vue" : " ^6.0.1" ,
20+ "vite" : " ^6.3.3"
21+ }
22+ }
Original file line number Diff line number Diff line change 1+ <script setup></script >
2+
3+ <template >
4+ <h1 >You did it!</h1 >
5+ <p >
6+ Visit <a href =" https://vuejs.org/" target =" _blank" rel =" noopener" >vuejs.org</a > to read the
7+ documentation
8+ </p >
9+ </template >
10+
11+ <style scoped></style >
You can’t perform that action at this time.
0 commit comments