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
- Host: GitHub
- URL: https://github.com/vxhly/vue2-project-snippets
- Owner: vxhly
- License: mit
- Created: 2018-06-29T08:36:22.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-29T09:16:25.000Z (almost 7 years ago)
- Last Synced: 2025-01-18T01:41:04.910Z (5 months ago)
- Topics: axios, router, snippets, snippets-fro-atom, vue-router, vuex, watch
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue2-project-snippets
[](https://github.com/vxhly/vue2-project-snippets/stargazers) [](https://github.com/vxhly/vue2-project-snippets/network) [](https://github.com/vxhly/vue2-project-snippets/issues) [](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