110
rated 0 times
[
116]
[
6]
/ answers: 1 / hits: 17746
/ 2 Years ago, fri, april 1, 2022, 12:00:00
I created a project template using vite.
Under package.json, I saw this;
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview"
},
What's the difference between vite
and vite preview
? When should one use vite
instead of vite preview
?
More From » vue.js