update to quasar app 2.0.0
This commit is contained in:
1982
package-lock.json
generated
1982
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
@@ -12,18 +12,26 @@
|
|||||||
"@quasar/extras": "^1.8.2",
|
"@quasar/extras": "^1.8.2",
|
||||||
"axios": "^0.19.2",
|
"axios": "^0.19.2",
|
||||||
"dotenv": "^8.2.0",
|
"dotenv": "^8.2.0",
|
||||||
"quasar": "^1.12.5"
|
"quasar": "^1.12.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@quasar/app": "^1.9.6",
|
"@quasar/app": "^2.0.0",
|
||||||
"@quasar/cli": "^1.0.7",
|
"@quasar/cli": "^1.0.7",
|
||||||
"@quasar/quasar-app-extension-testing": "^1.0.0",
|
"@quasar/quasar-app-extension-testing": "^1.0.0",
|
||||||
"@quasar/quasar-app-extension-testing-unit-jest": "^1.0.1",
|
"@quasar/quasar-app-extension-testing-unit-jest": "^1.0.1",
|
||||||
"core-js": "^2.6.11",
|
"core-js": "^3.6.5",
|
||||||
"flush-promises": "^1.0.2",
|
"flush-promises": "^1.0.2",
|
||||||
"fs-extra": "^9.0.1"
|
"fs-extra": "^9.0.1"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"last 1 version, not dead, ie >= 11"
|
"last 4 Chrome versions",
|
||||||
|
"last 4 Firefox versions",
|
||||||
|
"last 2 Edge versions",
|
||||||
|
"last 3 Safari versions",
|
||||||
|
"last 3 Android versions",
|
||||||
|
"last 3 ChromeAndroid versions",
|
||||||
|
"last 3 FirefoxAndroid versions",
|
||||||
|
"last 3 iOS versions",
|
||||||
|
"last 2 Opera versions"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 758 B After Width: | Height: | Size: 758 B |
@@ -3,7 +3,6 @@ const path = require('path');
|
|||||||
|
|
||||||
module.exports = function () {
|
module.exports = function () {
|
||||||
return {
|
return {
|
||||||
supportIE: false,
|
|
||||||
supportTS: false,
|
supportTS: false,
|
||||||
// https://quasar.dev/quasar-cli/cli-documentation/prefetch-feature
|
// https://quasar.dev/quasar-cli/cli-documentation/prefetch-feature
|
||||||
// preFetch: true,
|
// preFetch: true,
|
||||||
@@ -30,7 +29,7 @@ module.exports = function () {
|
|||||||
|
|
||||||
// Full list of options: https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-build
|
// Full list of options: https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-build
|
||||||
build: {
|
build: {
|
||||||
env: { DEV_API: JSON.stringify(process.env.DEV_URL), PROD_API: JSON.stringify(process.env.PROD_URL) },
|
env: { DEV_API: process.env.DEV_URL, PROD_API: process.env.PROD_URL },
|
||||||
vueRouterMode: 'history', // available values: 'hash', 'history'
|
vueRouterMode: 'history', // available values: 'hash', 'history'
|
||||||
distDir: "dist/",
|
distDir: "dist/",
|
||||||
|
|
||||||
@@ -39,9 +38,8 @@ module.exports = function () {
|
|||||||
// Does not applies to modern builds.
|
// Does not applies to modern builds.
|
||||||
// transpileDependencies: [],
|
// transpileDependencies: [],
|
||||||
|
|
||||||
modern: true, // https://quasar.dev/quasar-cli/modern-build
|
|
||||||
// rtl: false, // https://quasar.dev/options/rtl-support
|
// rtl: false, // https://quasar.dev/options/rtl-support
|
||||||
// preloadChunks: true,
|
// preloadChunks: false,
|
||||||
// showProgress: false,
|
// showProgress: false,
|
||||||
// gzip: true,
|
// gzip: true,
|
||||||
// analyze: true,
|
// analyze: true,
|
||||||
@@ -72,17 +70,13 @@ module.exports = function () {
|
|||||||
iconSet: 'material-icons', // Quasar icon set
|
iconSet: 'material-icons', // Quasar icon set
|
||||||
lang: 'en-us', // Quasar language pack
|
lang: 'en-us', // Quasar language pack
|
||||||
|
|
||||||
// Possible values for "all":
|
|
||||||
// * 'auto' - Auto-import needed Quasar components & directives
|
// * 'auto' - Auto-import needed Quasar components & directives
|
||||||
// (slightly higher compile time; next to minimum bundle size; most convenient)
|
// (slightly higher compile time; next to minimum bundle size; most convenient)
|
||||||
// * false - Manually specify what to import
|
// * false - Manually specify what to import
|
||||||
// (fastest compile time; minimum bundle size; most tedious)
|
// (fastest compile time; minimum bundle size; most tedious)
|
||||||
// * true - Import everything from Quasar
|
// * true - Import everything from Quasar
|
||||||
// (not treeshaking Quasar; biggest bundle size; convenient)
|
// (not treeshaking Quasar; biggest bundle size; convenient)
|
||||||
all: 'auto',
|
importStrategy: 'auto',
|
||||||
|
|
||||||
components: [],
|
|
||||||
directives: [],
|
|
||||||
|
|
||||||
// Quasar plugins
|
// Quasar plugins
|
||||||
plugins: [
|
plugins: [
|
||||||
|
|||||||
@@ -2,15 +2,15 @@
|
|||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title><%= htmlWebpackPlugin.options.productName %></title>
|
<title><%= productName %></title>
|
||||||
|
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="description" content="<%= htmlWebpackPlugin.options.productDescription %>">
|
<meta name="description" content="<%= productDescription %>">
|
||||||
<meta name="format-detection" content="telephone=no">
|
<meta name="format-detection" content="telephone=no">
|
||||||
<meta name="msapplication-tap-highlight" content="no">
|
<meta name="msapplication-tap-highlight" content="no">
|
||||||
<meta name="viewport"
|
<meta name="viewport"
|
||||||
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (htmlWebpackPlugin.options.ctx.mode.cordova || htmlWebpackPlugin.options.ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>">
|
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>">
|
||||||
<link rel="icon" type="image/ico" href="statics/icons/favicon.ico">
|
<link rel="icon" type="image/ico" href="favicon.ico">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Reference in New Issue
Block a user