/quasar-typescript-admin-template

:dizzy: This is a management system written using the Class API for Vue2 and Vue3 versions of the Quasar framework and supports TypeScript. where the master branch is used for the Vue2 version and the v3-admin branch is used for the Vue3 version.

Primary LanguageVue

Vue3 Typescript Template With Quasar framework

Using vue-facing-decorator allows you to write Vue3 code using class syntax, making the code more structured and object-oriented, and thus easier to read and maintain. Compared to using setup syntax, using class syntax allows you to organize your code more clearly and put related functions together, reducing redundancy and repetition in your code. In addition, using class syntax makes the code more reusable and extensible, which makes it easier to respond to different needs and changes.

In particular, using vue-facing-decorator also supports vue multi-page, making it possible to have multiple HTML entries for a vue project. This makes it easy to handle the code of multiple pages without having to write similar code over and over again. Also, using class syntax makes it easier to modularize development and improve code reusability and maintainability.

Commonly used components are encapsulated, including text box, time picker, slider, radio box and multi-select box, etc. Blackout mode is also added to allow users to use them comfortably under different visual environments. I continue to work on optimizing and improving these components, and will continue to introduce more new components to meet different needs.

To sum up, using vue-facing-decorator to write Vue3 code in class syntax is a much better choice for improving code readability, maintainability, and flexibility.

Login by typing in any username, code and password

Preview

  • Login

  • Dashboard

  • Table component

  • multi-page Dashboard (index.html)

pSdf3rV.png

  • multi-page large data display (index2.html)

pSdfJVU.png

Install the dependencies (only support yarn)

yarn

Start the app in development mode (hot-code reloading, error reporting, etc.)

yarn dev

Lint the files

yarn lint
# or
npm run lint

Format the files

yarn format
# or
npm run format

generate svg

npm run svg
# will generate svg map file -> src/utils/custom-svg.ts

Build the app for production

npm run build

Customize the configuration

See Configuring quasar.config.js.