upscayl.github.io
1.0.0
您需要建立一個由create-svelte提供動力的Svelte項目所需的一切。
如果您看到的,您可能已經完成了此步驟。恭喜!
# create a new project in the current directory
npm create svelte@latest
# create a new project in my-app
npm create svelte@latest my-app使用npm install (或pnpm install或yarn )創建一個項目並安裝依賴項後,請啟動開發服務器:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open創建應用程序的生產版本:
npm run build您可以使用npm run preview預覽生產構建。
要部署應用程序,您可能需要為目標環境安裝一個適配器。