Home
Softono
s

sdras

Professional software vendor delivering innovative solutions on the Softono platform. Specialized in both open-source and proprietary software development.

Total Products
5

Software by sdras

page-transitions-travelapp
Open Source

page-transitions-travelapp

# page-transitions-travelapp ## Build Setup ```bash # install dependencies $ yarn install # serve with hot reload at localhost:3000 $ yarn dev # build for production and launch server $ yarn build $ yarn start # generate static project $ yarn generate ``` For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).

Web Development Frontend Templates
1.7K Github Stars
vue-vscode-snippets
Open Source

vue-vscode-snippets

# Vue VSCode Snippets ![vue-snippet-hero](https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/vue-snippet-hero.gif) ## Description These snippets were built to supercharge a workflow in the most seamless manner possible. This repo was built particularly for real world use. It doesn't catalogue the API definitions, rather, it focuses on developer ergonomics from the point of Vue of real world use. Included are the pieces I personally get sick of typing, and boilerplate that is helpful to stub out quickly. _Versions Supported: Vue 2 and Vue 3_ ![SnippetDemo](https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/SnippetDemo.gif) ## Installation _Either_ - click the extensions button (lowest square icon in the editor), and type in Vue VSCode Snippets, select the one by sdras _or_ - go here [vscode Extensions Marketplace](https://marketplace.visualstudio.com/items?itemName=sdras.vue-vscode-snippets) ```javascript ext install Vue VSCode Snippets ``` You can enable tab completion (recommended) by opening `Code > Preferences > Settings` (on a Mac) and applying `"editor.tabCompletion": "onlySnippets"` to your personal settings ## Snippets ### Vue These snippets are meant to provide a base scaffold for your single file components (SFC). | Snippet | Purpose | | ------------------ | ------------------------------------------ | | `vbase-3-ss` | SFC base with script setup | | `vbase-3-ss-ts` | SFC base with script setup and TypeScript | | `vbase` | SFC base with SCSS | | `vbase-3` | SFC Composition API with SCSS | | `vbase-3-setup` | SFC setup Composition API with SCSS | | `vbase-3-setup` | SFC setup Composition API with SCSS | | `vbase-3-reactive` | SFC Composition API with Reactive and SCSS | | `vbase-css` | SFC base with CSS | | `vbase-pcss` | SFC base with PostCSS | | `vbase-styl` | SFC base with Stylus | | `vbase-ts` | SFC base with Typescript | | `vbase-ts-class` | SFC base with Typescript Class Format | | `vbase-3-ts` | SFC Composition API with Typescript | | `vbase-3-ts-setup` | SFC setup Composition API with Typescript | | `vbase-ns` | SFC with no styles | | `vbase-sass` | SFC base with SASS | | `vbase-less` | SFC base with LESS | ### Template | Snippet | Purpose | | ----------------- | ----------------------------------- | | `vfor` | v-for directive | | `vmodel` | Semantic v-model directive | | `vmodel-num` | Semantic v-model number directive | | `von` | v-on click handler with arguments | | `vslot-named` | Named slot | | `vel-props` | Component element with props | | `vsrc` | Image src binding | | `vstyle` | Inline style binding | | `vstyle-obj` | Inline style binding with objects | | `vclass` | Class binding | | `vclass-obj` | Class binding with objects | | `vclass-obj-mult` | Multiple conditional class bindings | | `vanim` | Transition component with JS hooks | | `vnuxtl` | Nuxt Routing Link | | `vroutename` | router-link Named Routing | | `vroutenameparam` | router-link Named with Parameters | | `vroutepath` | router-link Path Routing Link | | `vemit-child` | Emit event from child component | | `vemit-parent` | Emit event to parent component | ### Script | Snippet | Purpose | | ----------------- | ------------------------------------------------------------------------ | | `vdata` | Component data as a function | | `vmethod` | Vue method | | `vcomputed` | Vue computed property | | `vwatcher` | Vue watcher with new and old value args | | `vbeforecreate` | beforeCreate lifecycle method | | `vcreated` | created lifecycle method | | `vbeforemount` | beforeMount lifecycle method | | `vmounted` | vmounted lifecycle method | | `vbeforeupdate` | beforeUpdate lifecycle method | | `vupdated` | updated lifecycle method | | `vbeforedestroy` | beforeDestroy lifecycle method | | `vdestroyed` | destroyed lifecycle method | | `vprops` | Props with type and default | | `vimport` | Import one component into another | | `vimport-dynamic` | Import one component that should be lazy loaded by webpack | | `vcomponents` | Import one component into another within the export statement | | `vimport-export` | Import one component into another and use it within the export statement | | `vmapstate` | import mapState from Vuex into vue component component | | `vmapgetters` | import mapGetters from Vuex into vue component component | | `vmapmutations` | import mapMutations from Vuex into vue component component | | `vmapactions` | import mapActions from Vuex into vue component component | | `vfilter` | Vue filter | | `vmixin` | Create a Vue Mixin | | `vmixin-use` | Bring a mixin into a component to use | | `vc-direct` | Vue create a custom directive | | `vimport-lib` | Import a library | | `vimport-gsap` | Import GreenSock | | `vanimhook-js` | Using the Transition component JS hooks in methods | | `vcommit` | Commit to Vuex store in methods for mutation | | `vdispatch` | Dispatch to Vuex store in methods for action | | `vtest` | A simple unit testing component | ### Vue Composition API | Snippet | Purpose | | ------------------- | ----------------------------------------------------- | | `v3reactive` | Vue Composition API - reactive | | `v3reactive-setup` | Vue Composition API - reactive with setup boilerplate | | `v3computed` | Vue Composition API - computed | | `v3watch` | Vue Composition API - watcher single source | | `v3watch-array` | Vue Composition API - watch as array | | `v3watcheffect` | Vue Composition API - watchEffect | | `v3ref` | Vue Ref | | `v3onmounted` | Lifecycle hook - onMounted | | `v3onbeforemount` | Lifecycle hook - onBeforeMount | | `v3onbeforeupdate` | Lifecycle hook - onBeforeUpdate | | `v3onupdated` | Lifecycle hook - onUpdated | | `v3onerrorcaptured` | Lifecycle hook - onErrorCaptured | | `v3onunmounted` | Lifecycle hook - (destroyed) onUnmounted | | `v3onbeforeunmount` | Lifecycle hook - (beforeDestroy) onBeforeUnmount | | `v3useinoptions` | Use Composition API in Options API | ### Vuex | Snippet | Purpose | | --------------- | ------------------------------ | | `vstore` | Base for Vuex store.js | | `vgetter` | Vuex Getter | | `vmutation` | Vuex Mutation | | `vaction` | Vuex Action | | `vmodule` | Vuex Module | | `vstore-import` | Import vuex store into main.js | | `vstore2` | Updated Base for Vuex store | ### Vue Router | Snippet | Purpose | | -------------------- | --------------------------------------------- | | `vrouter` | Vue Router base | | `vscrollbehavior` | Vue Router scrollBehavior | | `vbeforeeach` | Vue Router global guards beforeEach | | `vbeforeresolve` | Vue Router global guards beforeResolve | | `vaftereach` | Vue Router global guards afterEach | | `vbeforeenter` | Vue Router per-route guard beforeEnter | | `vbeforerouteenter` | Vue Router component guards beforeRouteEnter | | `vbeforerouteupdate` | Vue Router component guards beforeRouteUpdate | | `vbeforerouteleave` | Vue Router component guards beforeRouteLeave | ### Vue Config | Snippet | Purpose | | --------- | -------------------------------------------------------------------- | | `vplugin` | Import a plugin to main.js or plugins file | | `vconfig` | vue.config.js file, example imports a sass file into every component | ### Nuxt Config | Snippet | Purpose | | ------- | ------------------------------------------------------- | | `nfont` | link to include fonts in a nuxt project, in nuxt-config | | `ncss` | link to css assets such as normalize | ### Nuxt Page | Snippet | Purpose | | ----------------- | -------------------------------- | | `nasyncdata` | Nuxt asyncData | | `nasyncdataaxios` | Nuxt asyncData with Axios module | | `nfetch` | Nuxt Fetch | | `nfetchaxios` | Nuxt Fetch with Axios module | | `nhead` | Nuxt Head | | `nparam` | Nuxt Route Params | ### Extra (plaintext) | Snippet | Purpose | | ----------- | ----------------------- | | `gitignore` | .gitignore file presets | ## Contributing This is an open source project open to anyone. Contributions are welcome [github](https://github.com/sdras/vue-vscode-snippets) If you are contributing a snippet, please be sure to add the documentation for it in the tables in the README, the pull request cannot be accepted without this addition. Thanks!

Developer Tools Package Managers
1.3K Github Stars
sample-vue-shop
Open Source

sample-vue-shop

**Note: This repo is no longer being maintained in favor of a newer, improved version: [https://github.com/sdras/ecommerce-netlify](https://github.com/sdras/ecommerce-netlify)** # Vue Sample Shop This small demo shows how to accept payments with stripe with Vue.js using a serverless function. It's actually not that bad to set up! The shop also shows how a number of concepts work in Vue. Server side rendering and routing is done with Nuxt.js. Centralized state management with Vuex for product details. Of note, using computed properties, `.sync`, CSS Grid, and `transition-group`. Live demo at [https://shoppity.azurewebsites.net/](https://shoppity.azurewebsites.net/) Articles explaining the demo will be available soon at [https://css-tricks.com/](https://css-tricks.com/) The serverless function is open source as well, available at this repo [https://github.com/sdras/sample-stripe-handler](https://github.com/sdras/sample-stripe-handler) ![Vue stripe sample shop](https://image.ibb.co/hYi7nm/shop_demo.gif "Vue Stripe Sample Shop") ## Build Setup ```bash # install dependencies $ npm install # Or yarn # serve with hot reload at localhost:3000 $ npm run dev # generate static project, get ready for launch on app services $ npm run generate ```

Frontend Templates E-commerce Platforms Payment & Checkout
1.2K Github Stars
hero-generator
Open Source

hero-generator

# Hero Generator → **[Hero Generator App](https://hero-generator.netlify.app/)** _Made with 🌮 by [sarah_edo](https://twitter.com/sarah_edo), deploys on [Netlify](https://www.netlify.com/?utm_source=proj&utm_medium=hero-sd&utm_campaign=devex)_ I've had to implement the same hero for several years now, so like a good lazy programmer, I figured I'd automate it. This generator is intended to get you going, it doesn't provide every value but the code output should give you a nice jumping off point :) What does it do? It generates the code for the example above based on your preferences. ![Hero Generator Screenshot](https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/hero-og.png "Hero Generator Screenshot") ## Project setup ``` yarn install ``` ### Compiles and hot-reloads for development ``` yarn run serve ``` ### Compiles and minifies for production ``` yarn run build ``` ### Run your tests ``` yarn run test ``` ### Lints and fixes files ``` yarn run lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/).

JavaScript Libraries & Components UI Design & Prototyping
642 Github Stars
vue-sample-svg-icons
Open Source

vue-sample-svg-icons

# Sample SVG Icon usage for Vue.js A demo to show how I prefer to set up an SVG icon system in Vue.js. You can see <a href="https://sdras.github.io/vue-sample-svg-icons/">a demo live here</a>. You don't have to do it this way, it's an opinionated example. More details for _why_ it's set up in this manner in the [Vue Cookbook](https://vuejs.org/v2/cookbook/editable-svg-icons.html). ![Documentation site](https://s3-us-west-2.amazonaws.com/s.cdpn.io/28963/screendocs.jpg "Docs demo") ## Build Setup ```bash # install dependencies npm install # serve with hot reload at localhost:8080 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report ``` For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

JavaScript Libraries & Components Icon Libraries
523 Github Stars