]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
ci: add body to releases
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 30 Apr 2020 08:17:59 +0000 (10:17 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 30 Apr 2020 08:17:59 +0000 (10:17 +0200)
.github/workflows/github-releases.yml
src/index.ts
test-dts/createRouter.test-d.ts

index d782e04c6c1c609dcbb3b122bd062b932b1a1ef1..6a60d78742ff81d76a2f188e4e84e923be8b4a8f 100644 (file)
@@ -22,3 +22,5 @@ jobs:
           tag_name: ${{ github.ref }}
           release_name: ${{ github.ref }}
           prerelease: true
+          body: |
+            Please refer to [CHANGELOG.md](https://github.com/vuejs/vue-router-next/blob/master/CHANGELOG.md) for details.
index 0f4e1e1d6a97cdf106b6854eed215d38d24e5b6b..c7e472cd507a6e2c3ba2b7782a06bf137f8d066a 100644 (file)
@@ -19,6 +19,8 @@ export {
 } from './matcher/pathParserRanker'
 
 export {
+  _RouteLocationBase,
+  _RouteRecordBase,
   RouteLocationRaw,
   RouteLocation,
   RouteLocationNormalized,
index 10be27ae49d1fc0fbef0962ffce506c2830a6552..7d62c717d6d635ef6f89cce82fcc5d84abe12f8f 100644 (file)
@@ -1,10 +1,12 @@
 import { createRouter, createWebHistory } from './index'
-import { createApp } from 'vue'
+import { createApp, defineComponent } from 'vue'
+
+const component = defineComponent({})
 
 const router = createRouter({
   history: createWebHistory(),
   strict: true,
-  routes: [],
+  routes: [{ path: '/', component }],
   parseQuery: search => ({}),
   stringifyQuery: query => '',
   end: true,