From 36a36d409da8476d89eaee572c5a7f59a29168f9 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Sun, 12 Feb 2023 20:10:55 +0100 Subject: [PATCH] Add preview commands to Vite samples --- sample/vite3/package.json | 3 ++- sample/vite4/package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sample/vite3/package.json b/sample/vite3/package.json index 35c9e9343..197a74790 100644 --- a/sample/vite3/package.json +++ b/sample/vite3/package.json @@ -6,7 +6,8 @@ "type": "module", "scripts": { "build": "vite build", - "dev": "vite serve" + "dev": "vite", + "preview": "vite preview" }, "author": { "name": "Wojciech Maj", diff --git a/sample/vite4/package.json b/sample/vite4/package.json index 3573ec9b7..3ba00d3d8 100644 --- a/sample/vite4/package.json +++ b/sample/vite4/package.json @@ -6,7 +6,8 @@ "type": "module", "scripts": { "build": "vite build", - "dev": "vite serve" + "dev": "vite", + "preview": "vite preview" }, "author": { "name": "Wojciech Maj",