Home

Awesome

<p align="center"> <img height="160px" src="https://raw.githubusercontent.com/Tyh2001/images/4ad62a8f00aa2473deca61598f307430d8d4a4cf/fighting-design/FightingDesign.svg"> <h2 align="center" style="font-weight: 600">Fighting Design</h2> </p> <p align="center"> Fighting design can quickly build interactive interfaces in vue3 applications, which looks good. </p> <p align="center"> <a href="https://github.com/FightingDesign/fighting-design/blob/master/README.zh-CN.md">Chinese</a> | English </p> <p align="center"> <a href="https://github.com/FightingDesign/fighting-design/stargazers"><img src="https://img.shields.io/github/stars/FightingDesign/fighting-design" /></a> <a href="https://www.npmjs.com/package/fighting-design"><img src="https://badgen.net/npm/v/fighting-design" /></a> <a href="https://fighting.tianyuhao.cn"><img src="https://img.shields.io/badge/Fighting%20Design-Docs-blue" /></a> <a href="https://github.com/FightingDesign/fighting-design/blob/master/CHANGELOG.md"><img src="https://img.shields.io/badge/Fighting%20Design-CHANGELOG-blue" /></a> </p>

โœจ Features

๐Ÿ”‘ 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

<img width="200" height="264" src="https://raw.githubusercontent.com/Tyh2001/images/master/my/we-chat-2.jpg" >

๐Ÿ’Œ Special Thanks

Thanks to everyone who has already contributed to Fighting Design!

<a href="https://github.com/FightingDesign/fighting-design/graphs/contributors"> <img src="https://contrib.rocks/image?repo=FightingDesign/fighting-design" /> </a>

๐Ÿ’ฌ LICENSE

MIT