---
title: "quasar serve not work"
author: "johnsmith9th"
date: "2023-07-10T21:28:47Z"
tags: []
categories: ["Web前端"]
slug: "quasar-serve-not-work"
draft: false
lastmod: "2023-07-10T21:28:47Z"
id: 2539384
url: "https://johnsmith9th.iteye.com/blog/2539384"
---

当使用quasar build命令时，打包后的网站默认路径是dist/spa, 所以直接调用quasar serve是找不到网站文件的，需要加路径参数如下： quasar serve dist/spa