Skip to content

Commit 8b78e5b

Browse files
committed
feat(docs): last update on docs for q/app v2
1 parent fe2d9cd commit 8b78e5b

File tree

4 files changed

+19
-18
lines changed

4 files changed

+19
-18
lines changed

docs/package.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
},
1515
"dependencies": {
1616
"@quasar/extras": "^1.0.0",
17+
"core-js": "^3.6.5",
1718
"docsearch.js": "^2.6.2",
1819
"prismjs": "^1.15.0",
1920
"quasar": "^1.0.0"
@@ -36,17 +37,18 @@
3637
"pug": "^2.0.3",
3738
"pug-plain-loader": "^1.0.0",
3839
"raw-loader": "^4.0.0",
39-
"toml": "^3.0.0"
40+
"toml": "^3.0.0",
41+
"workbox-webpack-plugin": "^5.1.3"
4042
},
4143
"browserslist": [
42-
"last 5 Chrome versions",
43-
"last 5 Firefox versions",
44+
"last 4 Chrome versions",
45+
"last 4 Firefox versions",
4446
"last 2 Edge versions",
45-
"last 5 Safari versions",
46-
"last 5 Android versions",
47-
"last 5 ChromeAndroid versions",
48-
"last 5 FirefoxAndroid versions",
49-
"last 5 iOS versions"
47+
"last 4 Safari versions",
48+
"last 4 Android versions",
49+
"last 4 ChromeAndroid versions",
50+
"last 4 FirefoxAndroid versions",
51+
"last 4 iOS versions"
5052
],
5153
"engines": {
5254
"node": ">= 10.0.0",

docs/quasar.conf.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ module.exports = function (ctx) {
2222
// preFetch: true,
2323

2424
build: {
25-
scopeHoisting: true,
2625
vueRouterMode: 'history',
2726
showProgress: ctx.dev,
2827
distDir: 'dist/quasar.dev',

docs/src/pages/quasar-cli/app-upgrade-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ related:
55
- /quasar-cli/quasar-conf-js
66
---
77

8-
> * This guide refers to upgrading a Quasar app using `@quasar/app` v1 to using v2.
8+
> * This guide refers to upgrading a Quasar app from `@quasar/app` v1 to using v2.
99
> * Please note that `@quasar/app` and `quasar` are different packages (one is the Quasar App CLI and one is the Quasar UI), each one with its own version.
1010
1111
## What's new in v2
@@ -19,7 +19,7 @@ related:
1919
* Capacitor v2 and Workbox v5 support
2020
* Simpler quasar.conf.js > build > transpileDependencies; it now supports String (auto transforms it to `/node_modules/...') and Regexes too
2121
* Simpler quasar.conf.js > build > env; you no longer need to JSON.stringify each value (you now must not!)
22-
* Simpler quasar.conf.js > framework config Object; "all" prop has been renamed to "importStrategy" and it allows "all" or (the default) "auto" values; "components" and "directives" are no longer taken into account because you don't need them
22+
* Simpler quasar.conf.js > framework config Object; "all" prop has been renamed to "importStrategy" and it allows "all" or "auto" (the default) values; "components" and "directives" are no longer taken into account because you don't need them
2323
* New param for boot files and preFetch (publicPath); the "redirect()" method now fully supports a Vue Router location Object (on all build modes, on server-side or client-side); preFetch hook now also receive "urlPath" param
2424
* Lots of other improvements and fixes
2525

docs/src/router/routes.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ const routes = [
9696
}
9797
}
9898
]
99-
}))
100-
]
99+
})),
101100

102-
// Always leave this as last one
103-
routes.push({
104-
path: '*',
105-
component: () => import('pages/Error404.vue')
106-
})
101+
// Always leave this as last one
102+
{
103+
path: '*',
104+
component: () => import('pages/Error404.vue')
105+
}
106+
]
107107

108108
export default routes

0 commit comments

Comments
 (0)