家谱APP首页样式设计完成,落地80%
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
$root = Split-Path -Parent $PSScriptRoot
|
||||
$manifest = Get-Content -Raw -Encoding UTF8 (Join-Path $root 'manifest.json') | ConvertFrom-Json
|
||||
$entryPath = Join-Path $root 'index.html'
|
||||
|
||||
if ($manifest.vueVersion -eq '3' -and -not (Test-Path $entryPath)) {
|
||||
throw 'Vue 3 uni-app projects require index.html at the project root.'
|
||||
}
|
||||
|
||||
Write-Output 'PASS Vue 3 entry contract'
|
||||
Reference in New Issue
Block a user