Git Product home page Git Product logo

mcweb-snippets's Introduction

This is Code Snippets of mcweb for VS Code.

Install

Manual Install

在这里插入图片描述

Basic Part

No. Trigger Key Element Tag
1. muflitem mu-flex-item
2. muflbox <mu-flex-box>
3. muhbox <mu-h-box>
4. muvbox <mu-v-box>
5. muspace <mu-space>
6. musplitter <mu-splitter>
7. mub <mu-button>
8. mubi <mu-icon-button>
9. mubg <mu-button-group>

Navigation Part

No. Trigger Key Element Tag
1. mubar mu-bar
2. mutabs <mu-tabs>
3. mutabpanel <mu-tab-panel>
4. mudr <mu-dropdown>
5. mudri <mu-dropdown-item>

Form Part

No. Trigger Key Element Tag
1. muform <mu-form>
2. muformfield <mu-form-field>
3. muformrow <mu-form-row>
4. mui <mu-input>
5. muedi <mu-editor>
6. mucobox <mu-combo-box>
7. mudateeditor <mu-date-editor>

Notice Part

No. Trigger Key Element Tag
1. mumeal alert('',()=>{})
2. mumecon confirm('',btn=>{})
3. mumewar warn('',btn=>{})
4. munot `notify('info

Others Part

No. Trigger Key Element Tag
1. mudi <mu-dialog>
2. muorgid this.$context.orgId

Http Part

No. Trigger Key Element Tag
1. muapiget const result = await this.$http.get('url','params')
2. muapipost const result = await this.$http.post('url','params')
3. muapipatch const result = await this.$http.patch('url','params')
4. muapidelete const result = await this.$http.delete('url','params')

Store Part

No. Trigger Key Element Tag
1. mustodp await this.$store.dispatch(method, params)
2. mustocm this.$store.commit(method, params)

新增vue3 相关API

使用方式 vue3-

新增 mussel base-style

  • background
  • border
  • margin
  • padding
  • text
  • shadow

新增 layout 文件中相关style flex 对齐样式

mcweb-snippets's People

Contributors

langlangbody avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.