fix(create-tauri-app): correct dev port for svelte, closes #3210 (#3246)

This commit is contained in:
sdoering01 2022-01-19 10:44:37 +01:00 committed by GitHub
parent e1d6a6e644
commit 4de8577a48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ const svelte: Recipe = {
configUpdate: ({ cfg, packageManager }) => ({
...cfg,
distDir: `../public`,
devPath: 'http://localhost:5000',
devPath: 'http://localhost:8080',
beforeDevCommand: `${
packageManager === 'npm' ? 'npm run' : packageManager
} dev`,