With NPM:
npm init bto-ui <target-folder> --template <vue | react>
With Yarn:
yarn create bto-ui <target-folder> --template <vue | react>
- To Run this Scaffolding you need 3 Repository as dependency. It should be in the same root directory
-
bto-ui-shell
- parent container that bootstrap user configuration, controls the view and routesgit clone https://github.com/bettertradeoff/bto-ui-shell.git
-
bto-ui-shared
- shared utilitygit clone https://github.com/bettertradeoff/bto-ui-shared.git
-
bto-ui-store
- data layer repositorygit clone https://github.com/bettertradeoff/bto-ui-store.git
-
.<root-folder>
├── bto-ui-shell
├── bto-ui-shared
├── bto-ui-store
├── bto-ui-<my-new-feature>
| ├─ src
| | ├─ main.tsx
| | ├─ App.tsx
| | ├─ shims-vue.tsx
| |
| ├─ README.md
| ├─ vite.config.ts
| └─ package.json
yarn serve