mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
feat(cli): reload vant config
This commit is contained in:
@@ -10,7 +10,7 @@ import {
|
||||
import {
|
||||
SRC_DIR,
|
||||
DOCS_DIR,
|
||||
CONFIG_FILE,
|
||||
VANT_CONFIG_FILE,
|
||||
SITE_DESKTOP_SHARED_FILE
|
||||
} from '../common/constant';
|
||||
|
||||
@@ -51,7 +51,7 @@ function genExportDocuments(items: DocumentItem[]) {
|
||||
}
|
||||
|
||||
function genImportConfig() {
|
||||
return `import config from '${removeExt(CONFIG_FILE)}';`;
|
||||
return `import config from '${removeExt(VANT_CONFIG_FILE)}';`;
|
||||
}
|
||||
|
||||
function genExportConfig() {
|
||||
|
Reference in New Issue
Block a user