mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
fix(cli): missing compileTemplate id
This commit is contained in:
@@ -78,6 +78,7 @@ export async function compileSfc(filePath: string): Promise<any> {
|
||||
|
||||
if (template) {
|
||||
const render = compileTemplate({
|
||||
id: scopeId,
|
||||
source: template.content,
|
||||
filename: filePath,
|
||||
}).code;
|
||||
|
Reference in New Issue
Block a user