feat: create templates dir in project
icyphox icyph0x@protonmail.com
Sat, 17 Mar 2018 02:04:46 +0530
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
vite.py
→
vite.py
@@ -26,6 +26,7 @@ try:
abs_path = pathlib.Path(path).resolve() pathlib.Path(path + '/pages').mkdir(parents=True, exist_ok=False) pathlib.Path(path + '/build').mkdir(exist_ok=False) + pathlib.Path(path + '/templates').mkdir(exist_ok=False) shutil.copy('make.py', path) print('Created project directory at %s.' % (abs_path)) except FileExistsError as e: