create-vt-app
v1.0.23
Published
Personal tool to work faster
Downloads
7
Readme
CREATE VT APP Version
APP USAGE
Vt-app is an internal tool designed to facilitate the creation of new custom apps. Simply run npx create-vt-app and fill in the fields as needed. Refer below for the available templates and their definitions.
NOTE
: To run vt-app in development mode to request a change you have to
- in create-vt-app-tool folder run npm i
- run npm i -g
- Now, run npx create-vt-app and you should see the changes in your apply apply
How to use
Simply run npx create-vt-app
in the desired directory
Templates
NOTES:
- All the templates have the basic folders and files: Manifest,messages,docs, public folder, git ignore, prettier files and configurations.
- All React folders include typings,package.json, and tsconfig
| NAME | | DEFINITION | |---------------------|----|-------------------------------------------------------------------------------------------| | Empty | | Only basic folder | | Store | | Store folder (interfaces.json) + React folder | | My Account Plugin | | Store folder (interfaces + plugins.json) + React folder (with my-account-plugin routes) | | Pixel App | | Store folder (interfaces + plugins.json) + Pixel folder + React folder (with index.tsx) | | Service App (Node) | | Service App template (middleware & clients folders, service.json & index.ts) | | Admin App | | Admin folder (navigation & routes.json) + React folder | | Checkout Custom | | Checkout-ui-custom folder (src, components, vite) copy build code and paste in admin | | Checkout Settings | | Checkout-ui-custom folder (src, components, vite) link to use |
All templates except Empty, Pixel, Node and Checkout may add Additional React folders
, which adds the following folders: assets, context, graphql, hooks, iconLibrary, utils