第一版
This commit is contained in:
7
test-poem.js
Normal file
7
test-poem.js
Normal file
@ -0,0 +1,7 @@
|
||||
import { showPoem, defaultPoem } from "./lib/poem.js";
|
||||
|
||||
// 使用默认古诗
|
||||
showPoem(defaultPoem);
|
||||
|
||||
// 自定义古诗
|
||||
// showPoem(["床前明月光", "疑是地上霜", "举头望明月", "低头思故乡"]);
|
||||
Reference in New Issue
Block a user