]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(playground): save `tsconfig.json` to the root directory; update Node.js version...
author丶远方 <yangpanteng@gmail.com>
Tue, 12 Mar 2024 13:46:26 +0000 (21:46 +0800)
committerGitHub <noreply@github.com>
Tue, 12 Mar 2024 13:46:26 +0000 (21:46 +0800)
Co-authored-by: Haoqun Jiang <haoqunjiang@gmail.com>
packages/sfc-playground/src/download/download.ts
packages/sfc-playground/src/download/template/README.md

index f981134a701f66ed7038f21c7f138dbf7efb042c..28d836edb1187a00e9eead1b7aa06a2a27962e1a 100644 (file)
@@ -27,7 +27,7 @@ export async function downloadProject(store: ReplStore) {
 
   const files = store.getFiles()
   for (const file in files) {
-    if (file !== 'import-map.json') {
+    if (file !== 'import-map.json' && file !== 'tsconfig.json') {
       src.file(file, files[file])
     } else {
       zip.file(file, files[file])
index 39c47d255aea996e9e71e90f142833acd074c4ca..9c43370cb8afaceccf936d310add91b3bc817b2e 100644 (file)
@@ -1,6 +1,6 @@
 # Vite Vue Starter
 
-This is a project template using [Vite](https://vitejs.dev/). It requires [Node.js](https://nodejs.org) v12+.
+This is a project template using [Vite](https://vitejs.dev/). It requires [Node.js](https://nodejs.org) version 18+, 20+.
 
 To start: