Skip to content

🌈 Fighting Design 可在 vue3 应用程序中快速构建交互界面,看起来还不错。(🌈 Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.)

License

Notifications You must be signed in to change notification settings

FightingDesign/fighting-design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

065477c · May 13, 2024
Oct 8, 2023
Jan 6, 2023
Aug 12, 2023
May 13, 2024
Oct 17, 2022
May 13, 2024
Dec 27, 2023
May 11, 2024
Dec 16, 2023
Nov 18, 2022
Apr 15, 2024
Feb 22, 2023
Feb 24, 2023
Mar 15, 2023
May 13, 2024
May 13, 2024
Aug 15, 2023
May 6, 2024
May 6, 2024
Aug 31, 2022
May 6, 2024
May 6, 2024
Dec 29, 2022
Jan 10, 2023
May 11, 2024
May 13, 2024
Sep 3, 2022
Mar 15, 2023
May 19, 2023
Mar 1, 2024
Jan 10, 2023
May 6, 2024
May 6, 2024

Repository files navigation

Fighting Design

Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.

Chinese | English

✨ Features

  • 🪐 60+ common components
  • 💪 Developed with the latest features of Vue.js
  • 🐆 Fully based on Vite, fast enough
  • 🤟 Ultimate development experience
  • 🥇 Ultra detailed JSDoc comments
  • 🦩 Zero third party dependency
  • 🪐 Different packaging modes which compatible with different projects
  • 🏆 Support full import and on-demand import
  • ✅ Written with TypeScript & Template
  • 🖍️ Strict TypeScript Type
  • ✔️ Easy to configure and easy to use
  • 🚩 Complete and adequate unit tests
  • 👍 Maintained by the community team
  • ❤️ Developed according to actual demand
  • 📃 High quality detailed documentation
  • ☝️ Put forward demands and keep improving
  • 🌍 More configuration options & flexible components
  • 🛠 More features are under development

🔑 Install

Use pnpm install

pnpm add --save-dev fighting-design

Use npm install

npm install --save-dev fighting-design

Use yarn install

yarn add --save-dev fighting-design

🎉 Quick Start

Put the following code into main.ts

import { createApp } from 'vue'
import App from './App.vue'

import FightingDesign from 'fighting-design'
import 'fighting-design/dist/index.css'

const app = createApp(App)
app.use(FightingDesign)
app.mount('#app')

🪂 Quick experience

<head>
  <link
    rel="stylesheet"
    href="https://cdn.jsdelivr.net/npm/fighting-design/dist/index.css"
  />
</head>

<body>
  <div id="app">
    <f-space>
      <f-button round type="default">默认按钮</f-button>
      <f-button round type="primary">主要按钮</f-button>
      <f-button round type="success">成功按钮</f-button>
      <f-button round type="danger">危险按钮</f-button>
      <f-button round type="warning">警告按钮</f-button>
    </f-space>

    <f-divider>华丽的分隔线</f-divider>

    <f-button type="primary" @click="visible = true">打开 Dialog</f-button>
    <f-dialog title="Title" v-model:visible="visible">
      欢迎使用 Fighting Design!
    </f-dialog>
  </div>

  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.global.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/fighting-design/dist/index.umd.js"></script>
  <script>
    const { createApp, ref } = Vue

    const app = createApp({
      setup() {
        const visible = ref(false)

        return { visible }
      }
    })

    app.use(FightingDesign.default)
    app.mount('#app')
  </script>
</body>

🐳 Related links

🌈 Join Fighting Design

Add WeChat & please note the Github username

💌 Special Thanks

Thanks to everyone who has already contributed to Fighting Design!

💬 LICENSE

MIT