An open API service indexing awesome lists of open source software.

https://github.com/vxhly/vue2-project-snippets

vue2.0+ project snippets fro Atom
https://github.com/vxhly/vue2-project-snippets

axios router snippets snippets-fro-atom vue-router vuex watch

Last synced: 3 months ago
JSON representation

vue2.0+ project snippets fro Atom

Awesome Lists containing this project

README

        

# vue2-project-snippets

[![GitHub stars](https://img.shields.io/github/stars/vxhly/vue2-project-snippets.svg)](https://github.com/vxhly/vue2-project-snippets/stargazers) [![GitHub forks](https://img.shields.io/github/forks/vxhly/vue2-project-snippets.svg)](https://github.com/vxhly/vue2-project-snippets/network) [![GitHub issues](https://img.shields.io/github/issues/vxhly/vue2-project-snippets.svg)](https://github.com/vxhly/vue2-project-snippets/issues) [![GitHub license](https://img.shields.io/github/license/vxhly/vue2-project-snippets.svg)](https://github.com/vxhly/vue2-project-snippets/blob/master/LICENSE)

> vue2.0+ project snippets fro Atom

Prefix | Description
----------------- | :--------------------------------------------------------
`ax-im` | import axios
`ax-get` | axios get api function
`ax-post` | axios post api function
`ax-patch` | axios patch pai function
`ax-put` | axios put pai function
`ax-delete` | axios delete pai function
`ax-init` | create axios example
`ax-init-full` | create axios - full example(includes vuex and vue-router)
`el-im-demand` | On-demand introduction of example
`el-im-full` | complete introduction of examples
`export` | export module
`import` | import module
`class` | ES6 class
`template` | vue2 template
`v-for` | v-for
`v-if` | v-if
`v-else` | v-else
`v-else-if` | v-else-if
`v-show` | v-show
`v-text` | v-text
`v-html` | v-html
`v-on` | v-on
`v-bind` | v-bind
`v-model` | v-model
`model` | model
`props` | props
`data` | data
`watch` | watch
`watch-deep` | watch with deep
`mounted` | mounted
`computed` | computed
`methods` | methods
`components` | components
`r-init` | vue-router init(includes vuex)
`r-scrollBehavio` | vue-router with scrollBehavior
`r-push` | router.push
`r-push-params` | router.push with params
`r-push-query` | router.push with query
`r-params` | get params
`r-query` | get query
`router-view` | Router View
`router-link` | Router Link
`vuex-im` | vuex import modules
`store` | store index.js
`module` | vuex module
`module-auth` | vuex module with auth
`dispatch` | vuex with dispatch