0.1.0 • Published 7 years ago
vue-api-client v0.1.0
vue-api-client
The <form> tag for the 21st century.
Whether you are writing this.$axios in your components lifecycle hooks, or if you use <api-client> tags in your template, you are coupling API communication to your component. Depending on your use case this may or may not be a good thing. Using <api-client> tags simply moves the expression of your intent into the template. This keeps your script section clean for logic related to your data, and not filled with xhr boilerplate.
You might be surprised at how expressive your components can become!
Project setup
npm installCompiles and hot-reloads for development
npm run serveCompiles and minifies for production
npm run buildRun your tests
npm run testLints and fixes files
npm run lintCustomize configuration
0.1.0
7 years ago