All Projects → mikerockett → Vue Routisan

mikerockett / Vue Routisan

Licence: other
Elegant, fluent route definitions for Vue Router, inspired by Laravel. v3 is currently in beta. [email protected]

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Vue Routisan

Router Module
Nuxt.js module to use router.js instead of pages/ directory.
Stars: ✭ 322 (+66.84%)
Mutual labels:  router, vue-router
Laravel Vuejs.com
Laravel and VueJs Blog, using Laravel nova, GraphQL, NuxtJs, Apollo and ...more
Stars: ✭ 54 (-72.02%)
Mutual labels:  laravel, vue-router
Iris
The fastest HTTP/2 Go Web Framework. AWS Lambda, gRPC, MVC, Unique Router, Websockets, Sessions, Test suite, Dependency Injection and more. A true successor of expressjs and laravel | 谢谢 https://github.com/kataras/iris/issues/1329 |
Stars: ✭ 21,587 (+11084.97%)
Mutual labels:  laravel, router
Laravel Vue
运用laravel5.4 + vue2.0 + elementui
Stars: ✭ 276 (+43.01%)
Mutual labels:  laravel, vue-router
Laravel Router
An organized approach to handling routes in Laravel.
Stars: ✭ 130 (-32.64%)
Mutual labels:  laravel, router
Roastandbrew
Updated content available! We learned a lot since we originally wrote this article. We now have this updated for Laravel 8, Vue, and NuxtJS 👉 https://srvrsi.de/book
Stars: ✭ 300 (+55.44%)
Mutual labels:  laravel, vue-router
Enso
Laravel Vue SPA, Bulma themed. For demo login use `[email protected]el-enso.com` & `password` -
Stars: ✭ 959 (+396.89%)
Mutual labels:  laravel, vue-router
Vue Smart Route
Smart route search to make intelligent looking apps with Vue.js.
Stars: ✭ 280 (+45.08%)
Mutual labels:  router, vue-router
Vuejs2 Laravel53 Starter
A starter template for VueJs 2.0 with Laravel 5.4
Stars: ✭ 112 (-41.97%)
Mutual labels:  laravel, vue-router
Vue Laravel Spa
Single Page Application made with Vue.JS2, Vue Router, Vuex and Laravel 5.6.
Stars: ✭ 107 (-44.56%)
Mutual labels:  laravel, vue-router
nativescript-vue-router
A simple router implementation that is suitable for NativeScript-Vue.
Stars: ✭ 14 (-92.75%)
Mutual labels:  router, vue-router
Roastapp
Laravel学院 Roast 应用源码
Stars: ✭ 164 (-15.03%)
Mutual labels:  laravel, vue-router
Rapid.js
An ORM-like Interface and a Router For Your API Requests
Stars: ✭ 700 (+262.69%)
Mutual labels:  laravel, router
Running Time
Sample Single Page Application using Laravel & Vue.js + Vuex + Vue-Router
Stars: ✭ 90 (-53.37%)
Mutual labels:  laravel, vue-router
Laravue
Admin dashboard for enterprise Laravel applications built by VueJS and Element UI https://laravue.dev
Stars: ✭ 1,964 (+917.62%)
Mutual labels:  laravel, vue-router
Imall
基于Laravel5.2,Vue.js1.0的微信商城,用于熟悉 Laravel、Vuejs、Webpack、Gulp 的结合使用,已不维护及更新。(1MB单核基础服务器,浏览请耐心等待图片加载...)
Stars: ✭ 168 (-12.95%)
Mutual labels:  laravel, vue-router
Wagon
免安裝可攜的 Laravel 開發環境
Stars: ✭ 189 (-2.07%)
Mutual labels:  laravel
Library Management System
📚 An automated library management system developed in Laravel 4.2 PHP MVC Framework
Stars: ✭ 189 (-2.07%)
Mutual labels:  laravel
Contentify
Contentify is an esports CMS based on the PHP framework Laravel
Stars: ✭ 189 (-2.07%)
Mutual labels:  laravel
Laravel Datatables Html
Laravel DataTables HTML Builder Plugin
Stars: ✭ 188 (-2.59%)
Mutual labels:  laravel
Vue Routisan

Elegant, fluent route definitions for Vue Router, inspired by Laravel.

Release 3.x Made with JavaScript Gluten Free Built with ♥

Routisan 3 is currently in beta. Stable release around the corner!

npm i [email protected]

Routisan provides you with a friendlier way to declare route definitions for Vue Router. Inspired by Laravel, it uses chained calls to build up your routes, allowing you to group and nest as deeply as you like.

Route.view('blog', 'Blog').name('blog').children(() => {
  // All Posts
  Route.view('/', 'Blog/Posts').name('posts')

  // Single Post
  Route.view('{post}', 'Blog/Post').name('single-post').children(() => {
    Route.view('edit', 'Blog/Post/Edit').name('edit')
    Route.view('stats', 'Blog/Post/Stats').name('stats')
  })
})

This produces an array of routes in the format Vue Router expects to see, and follows a behaviour somewhat similar to Laravel’s router, such as:

  • Using callbacks to iteratively collect routes
  • Correctly joining nested routes together, regardles of prefixed slashes
  • Correctly joining the names of nested routes, using a separator of your choice

Documentation

You can read the docs on the Vue Routisan 3 site.

Upgrading from v2.x

If you are upgrading a project to Routisan 3, please consult the upgrade guide.

Keep in mind that Routisan 3 is currently in beta. It is suitable for production use, but it would be wise to wait for the stable release before using it in large projects where potential breaking changes might make the upgrade path unnecessarily complex.

Changelog

Routisan’s changelog is maintained here.

License

Vue Routisan is licensed under the ISC license, which is more permissive variant of the MIT license. You can read the license here.

Contributing

If you would like to contribute code to Vue Routisan, simply open a Pull Request containing the changes you would like to see. Please provide a proper description of the changes, whether they fix a bug, enhance an existing feature, or add a new feature.

If you spot a bug and don’t know how to fix it (or just don’t have the time), simply open an issue. Please ensure the issue is descriptive, and contains a link to a reproduction of the issue. Additionally, please prefix the title with the applicable version of Routisan, such as [3.0].

Feature requests may also be submitted by opening an issue – please prefix the title with "Feature Request"

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].