|
|
|
@ -3,8 +3,6 @@ module Docs
|
|
|
|
|
self.name = 'Vue Router'
|
|
|
|
|
self.slug = 'vue_router'
|
|
|
|
|
self.type = 'simple'
|
|
|
|
|
self.release = '3.1.2'
|
|
|
|
|
self.base_url = 'https://router.vuejs.org/'
|
|
|
|
|
self.links = {
|
|
|
|
|
home: 'https://router.vuejs.org',
|
|
|
|
|
code: 'https://github.com/vuejs/vue-router'
|
|
|
|
@ -22,8 +20,18 @@ module Docs
|
|
|
|
|
Licensed under the MIT License.
|
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
version '4' do
|
|
|
|
|
self.release = '4.0.3'
|
|
|
|
|
self.base_url = 'https://next.router.vuejs.org/'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
version '3' do
|
|
|
|
|
self.release = '3.5.1'
|
|
|
|
|
self.base_url = 'https://router.vuejs.org/'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def get_latest_version(opts)
|
|
|
|
|
get_latest_github_release('vuejs', 'vue-router', opts)
|
|
|
|
|
get_npm_version('vue-router', opts, 'next')
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|