create-resilient-app
is a CLI tool for scaffolding a new React or Vue application with ResVault SDK integration. It supports both JavaScript and TypeScript.
You don't need to install it globally. Just run the command with npx
:
npx create-resilient-app
Alternatively, you can install it globally:
npm install -g create-resilient-app
Running npx create-resilient-app
without flags will start an interactive prompt to help you set up your project.
npx create-resilient-app
You will be asked the following questions:
React
or Vue
.JavaScript
or TypeScript
.You can also bypass the interactive mode by providing all the necessary options through flags:
npx create-resilient-app --name my-app --framework react --language typescript
-n, --name
: Name of the project (required if not using interactive mode).-f, --framework
: Choose the framework: react
or vue
(required if not using interactive mode).-l, --language
: Choose the language: javascript
or typescript
(required if not using interactive mode).Create a React app using TypeScript:
npx create-resilient-app --name my-react-app --framework react --language typescript
Create a Vue app using JavaScript:
npx create-resilient-app --name my-vue-app --framework vue --language javascript
Once the project is generated, navigate to your project directory:
cd my-app
Then, install the project dependencies:
npm install
After installing the dependencies, you can run the project:
For React:
npm start
For Vue:
npm run dev
The project includes a basic setup with ResVault SDK integrated. Feel free to customize the project as per your needs.
Feel free to open issues or submit pull requests if you find bugs or want to add new features.
This project is licensed under the Apache-2.0 License.