fearless
A dashboard scaffolding based on Vue.js 3.x & TypeScript created by Vite.
Todo
SWR composable
Global store
CRUD demos
Data virtualization
More demos
Features
Modern Vue.js Ecosystem
vue 3.x
vuex 4.x
vue-router 4.x
Fully strongly typed
typescript 4.x
Next generation frontend tooling
vite 2.x
HTTP request based on Fetch API
ky 0.x (not axios)
Customizable UI Library
naive-ui 2.x
Complete engineering workflow
eslint 7.x
husky 7.x
lint-staged 11.x
commitlint 13.x
Locally mocked API server
express 4.x
Authorization
Access token
Refresh token
Auth refresh token
Role based authorization
Modern application deployment
GitHub Actions
Vercel (with Serverless functions)
Online Preview
https://fearless.zce.me
owner - username: zce; password: wanglei
admin - username: jack; password: 123
staff - username: pony; password: 123
owner - username: tom; password: 123
Getting Started
Prerequisites
Node.js (>= 12.10, 14.17 preferred)
npm (>= 6.x) or yarn (>= 1.22)
Git (>= 2.20)
Scaffolding tools
Create an application by zce/caz
- ``` shell
- # create apps through this
- $ npx caz vue#next my-app
- # enter generated directory
- $ cd my-app
- ```
Clone & Install
- ``` shell
- # clone repo
- $ git clone https://github.com/zce/fearless.git
- $ cd fearless
- # install dependencies
- $ npm install # or yarn
- ```
Available Scripts
- ``` shell
- # dev with hot reload at http://localhost:3000
- $ npm run dev # or yarn dev
- # build for production with minification
- $ npm run build # or yarn build
- ```
Mock API Server
The built-in mock server starts as a vite plugin. that means you don't need to start it alone.
Contributing
Forkit on GitHub!
Clonethe fork to your own machine.
Checkoutyour feature branch: git checkout -b my-awesome-feature
Commityour changes to your own branch: git commit -am 'Add some feature'
Pushyour work back up to your fork: git push -u origin my-awesome-feature
Submit a Pull Requestso that we can review your changes.
NOTE: Be sure to merge the latest from "upstream" before making a pull request!
License
MIT © zce