diff --git a/doric-cli/src/create.ts b/doric-cli/src/create.ts index 967d0024..7cd46ff3 100644 --- a/doric-cli/src/create.ts +++ b/doric-cli/src/create.ts @@ -86,6 +86,7 @@ export async function create(name: string) { } await fs.promises.mkdir(name) console.log(`Create doric project at ${cwd}`); + await shellCopy(path.resolve(cwd, "assets"), path.resolve(targetJSPath, "assets")); await initJS(cwd, name) const androidDir = `${cwd}/android` if (fs.existsSync(androidDir)) {