chore: up deps

keep vue at rc 10 for the moment
pull/90/head
Eduardo San Martin Morote 4 years ago
parent 8c1aada628
commit 43d9fa8ff4

@ -54,13 +54,13 @@
"author": "Evan You",
"license": "MIT",
"dependencies": {
"@vue/compiler-sfc": "^3.0.0-rc.4",
"@vue/server-renderer": "^3.0.0-rc.4",
"@vue/compiler-sfc": "3.0.0-rc.10",
"@vue/server-renderer": "3.0.0-rc.10",
"debug": "^4.1.1",
"diacritics": "^1.3.0",
"escape-html": "^1.0.3",
"fs-extra": "^9.0.0",
"globby": "^11.0.0",
"globby": "^11.0.1",
"gray-matter": "^4.0.2",
"lru-cache": "^5.1.1",
"markdown-it": "^10.0.0",
@ -71,18 +71,18 @@
"minimist": "^1.2.5",
"prismjs": "^1.20.0",
"slash": "^3.0.0",
"vite": "^1.0.0-rc.3",
"vue": "^3.0.0-rc.4"
"vite": "^1.0.0-rc.4",
"vue": "3.0.0-rc.10"
},
"devDependencies": {
"@types/fs-extra": "^8.1.0",
"@types/lru-cache": "^5.1.0",
"@types/markdown-it": "^10.0.1",
"@types/markdown-it": "^10.0.2",
"@types/node": "^13.13.4",
"@types/postcss-load-config": "^2.0.1",
"chokidar": "^3.4.0",
"conventional-changelog-cli": "^2.0.31",
"lint-staged": "^10.2.1",
"chokidar": "^3.4.2",
"conventional-changelog-cli": "^2.1.0",
"lint-staged": "^10.3.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",

@ -26,7 +26,8 @@ export function createRouter(
loadComponent: (route: Route) => Component | Promise<Component>,
fallbackComponent?: Component
): Router {
const route = reactive(getDefaultRoute())
// TODO: the cast shouldn't be necessary
const route = reactive(getDefaultRoute()) as Route
const inBrowser = typeof window !== 'undefined'
function go(href?: string) {

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save