소스 검색

migrate_to_reflex: convert pcconfig to rxconfig (#1270)

* migrate_to_reflex: convert pcconfig to rxconfig

fix #1269

* migrate_to_reflex: replace pynecone.io links with reflex.dev
Masen Furer 1 년 전
부모
커밋
ffa6ddf8b8
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      reflex/utils/prerequisites.py

+ 2 - 0
reflex/utils/prerequisites.py

@@ -388,8 +388,10 @@ def migrate_to_reflex():
     updates = {
         "Pynecone": "Reflex",
         "pynecone as pc": "reflex as rx",
+        "pynecone.io": "reflex.dev",
         "pynecone": "reflex",
         "pc.": "rx.",
+        "pcconfig": "rxconfig",
     }
     for file_path in file_list:
         with FileInput(file_path, inplace=True) as file: