diff --git a/package-lock.json b/package-lock.json index 0b9118e65..ca210cbac 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,9 @@ "name": "salix-front", "version": "0.1.0", "dependencies": { + "@quasar/extras": "^1.0.0", "core-js": "^3.6.5", + "quasar": "^2.0.0", "vue": "^3.0.0", "vue-class-component": "^8.0.0-0", "vue-router": "^4.0.0-0", @@ -34,9 +36,10 @@ "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-vue": "^7.0.0", "prettier": "^2.2.1", - "sass": "^1.26.5", - "sass-loader": "^8.0.2", + "sass": "1.32.12", + "sass-loader": "^10.1.0", "typescript": "~4.1.5", + "vue-cli-plugin-quasar": "~4.0.4", "vue-jest": "^5.0.0-0" } }, @@ -2172,6 +2175,11 @@ "node": ">= 8" } }, + "node_modules/@quasar/extras": { + "version": "1.12.5", + "resolved": "https://registry.npmmirror.com/@quasar/extras/-/extras-1.12.5.tgz", + "integrity": "sha512-I2bj/qPVxFdd1SZmIao+moh2bSlgbqNHJAIAopzwxQL0fTMKWGaOQsOvSKrv4hmAhC1cL/SBHd4OWAUWa4dA/w==" + }, "node_modules/@soda/friendly-errors-webpack-plugin": { "version": "1.8.1", "resolved": "https://registry.npmmirror.com/@soda/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-1.8.1.tgz", @@ -10214,12 +10222,6 @@ "node": ">= 4" } }, - "node_modules/immutable": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/immutable/-/immutable-4.0.0.tgz", - "integrity": "sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw==", - "dev": true - }, "node_modules/import-cwd": { "version": "2.1.0", "resolved": "https://registry.npmmirror.com/import-cwd/-/import-cwd-2.1.0.tgz", @@ -12493,6 +12495,15 @@ "node": ">=6" } }, + "node_modules/klona": { + "version": "2.0.5", + "resolved": "https://registry.npmmirror.com/klona/-/klona-2.0.5.tgz", + "integrity": "sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, "node_modules/launch-editor": { "version": "2.3.0", "resolved": "https://registry.npmmirror.com/launch-editor/-/launch-editor-2.3.0.tgz", @@ -15770,6 +15781,16 @@ "node": ">=0.6" } }, + "node_modules/quasar": { + "version": "2.5.5", + "resolved": "https://registry.npmmirror.com/quasar/-/quasar-2.5.5.tgz", + "integrity": "sha512-7UntzqIBih+xZLCB/f9pxuvNP3EBgexfQDbf8r9p58DHWAiSQwamLjcRHKqmujjp0uX1QChtp6oUxEkK+sFKtA==", + "engines": { + "node": ">= 10.18.1", + "npm": ">= 6.13.4", + "yarn": ">= 1.21.1" + } + }, "node_modules/query-string": { "version": "4.3.4", "resolved": "https://registry.npmmirror.com/query-string/-/query-string-4.3.4.tgz", @@ -16493,40 +16514,38 @@ } }, "node_modules/sass": { - "version": "1.49.8", - "resolved": "https://registry.npmmirror.com/sass/-/sass-1.49.8.tgz", - "integrity": "sha512-NoGOjvDDOU9og9oAxhRnap71QaTjjlzrvLnKecUJ3GxhaQBrV6e7gPuSPF28u1OcVAArVojPAe4ZhOXwwC4tGw==", + "version": "1.32.12", + "resolved": "https://registry.npmmirror.com/sass/-/sass-1.32.12.tgz", + "integrity": "sha512-zmXn03k3hN0KaiVTjohgkg98C3UowhL1/VSGdj4/VAAiMKGQOE80PFPxFP2Kyq0OUskPKcY5lImkhBKEHlypJA==", "dev": true, "dependencies": { - "chokidar": ">=3.0.0 <4.0.0", - "immutable": "^4.0.0", - "source-map-js": ">=0.6.2 <2.0.0" + "chokidar": ">=3.0.0 <4.0.0" }, "bin": { "sass": "sass.js" }, "engines": { - "node": ">=12.0.0" + "node": ">=8.9.0" } }, "node_modules/sass-loader": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/sass-loader/-/sass-loader-8.0.2.tgz", - "integrity": "sha512-7o4dbSK8/Ol2KflEmSco4jTjQoV988bM82P9CZdmo9hR3RLnvNc0ufMNdMrB0caq38JQ/FgF4/7RcbcfKzxoFQ==", + "version": "10.2.1", + "resolved": "https://registry.npmmirror.com/sass-loader/-/sass-loader-10.2.1.tgz", + "integrity": "sha512-RRvWl+3K2LSMezIsd008ErK4rk6CulIMSwrcc2aZvjymUgKo/vjXGp1rSWmfTUX7bblEOz8tst4wBwWtCGBqKA==", "dev": true, "dependencies": { - "clone-deep": "^4.0.1", - "loader-utils": "^1.2.3", - "neo-async": "^2.6.1", - "schema-utils": "^2.6.1", - "semver": "^6.3.0" + "klona": "^2.0.4", + "loader-utils": "^2.0.0", + "neo-async": "^2.6.2", + "schema-utils": "^3.0.0", + "semver": "^7.3.2" }, "engines": { - "node": ">= 8.9.0" + "node": ">= 10.13.0" }, "peerDependencies": { "fibers": ">= 3.1.0", - "node-sass": "^4.0.0", + "node-sass": "^4.0.0 || ^5.0.0 || ^6.0.0", "sass": "^1.3.0", "webpack": "^4.36.0 || ^5.0.0" }, @@ -16542,6 +16561,67 @@ } } }, + "node_modules/sass-loader/node_modules/loader-utils": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.2.tgz", + "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==", + "dev": true, + "dependencies": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + }, + "engines": { + "node": ">=8.9.0" + } + }, + "node_modules/sass-loader/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/sass-loader/node_modules/schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/sass-loader/node_modules/semver": { + "version": "7.3.5", + "resolved": "https://registry.npmmirror.com/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/sass-loader/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, "node_modules/sax": { "version": "1.2.4", "resolved": "https://registry.npmmirror.com/sax/-/sax-1.2.4.tgz", @@ -19004,6 +19084,28 @@ "vue": "^3.0.0" } }, + "node_modules/vue-cli-plugin-quasar": { + "version": "4.0.4", + "resolved": "https://registry.npmmirror.com/vue-cli-plugin-quasar/-/vue-cli-plugin-quasar-4.0.4.tgz", + "integrity": "sha512-clCEEVQZ4jgayes6CMBDVyuM+y7hQDGs2xBPXpfa1amjE5uoVMF5h8caJCMscPgOEihJibFOwRlpOcn+4q8Gew==", + "dev": true, + "dependencies": { + "webpack-merge": "^5.7.3" + } + }, + "node_modules/vue-cli-plugin-quasar/node_modules/webpack-merge": { + "version": "5.8.0", + "resolved": "https://registry.npmmirror.com/webpack-merge/-/webpack-merge-5.8.0.tgz", + "integrity": "sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q==", + "dev": true, + "dependencies": { + "clone-deep": "^4.0.1", + "wildcard": "^2.0.0" + }, + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/vue-eslint-parser": { "version": "7.11.0", "resolved": "https://registry.npmmirror.com/vue-eslint-parser/-/vue-eslint-parser-7.11.0.tgz", @@ -20278,6 +20380,12 @@ "integrity": "sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q==", "dev": true }, + "node_modules/wildcard": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/wildcard/-/wildcard-2.0.0.tgz", + "integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==", + "dev": true + }, "node_modules/word-wrap": { "version": "1.2.3", "resolved": "https://registry.npmmirror.com/word-wrap/-/word-wrap-1.2.3.tgz", @@ -22180,6 +22288,11 @@ "fastq": "^1.6.0" } }, + "@quasar/extras": { + "version": "1.12.5", + "resolved": "https://registry.npmmirror.com/@quasar/extras/-/extras-1.12.5.tgz", + "integrity": "sha512-I2bj/qPVxFdd1SZmIao+moh2bSlgbqNHJAIAopzwxQL0fTMKWGaOQsOvSKrv4hmAhC1cL/SBHd4OWAUWa4dA/w==" + }, "@soda/friendly-errors-webpack-plugin": { "version": "1.8.1", "resolved": "https://registry.npmmirror.com/@soda/friendly-errors-webpack-plugin/-/friendly-errors-webpack-plugin-1.8.1.tgz", @@ -28880,12 +28993,6 @@ "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", "dev": true }, - "immutable": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/immutable/-/immutable-4.0.0.tgz", - "integrity": "sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw==", - "dev": true - }, "import-cwd": { "version": "2.1.0", "resolved": "https://registry.npmmirror.com/import-cwd/-/import-cwd-2.1.0.tgz", @@ -30720,6 +30827,12 @@ "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", "dev": true }, + "klona": { + "version": "2.0.5", + "resolved": "https://registry.npmmirror.com/klona/-/klona-2.0.5.tgz", + "integrity": "sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ==", + "dev": true + }, "launch-editor": { "version": "2.3.0", "resolved": "https://registry.npmmirror.com/launch-editor/-/launch-editor-2.3.0.tgz", @@ -33463,6 +33576,11 @@ "integrity": "sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA==", "dev": true }, + "quasar": { + "version": "2.5.5", + "resolved": "https://registry.npmmirror.com/quasar/-/quasar-2.5.5.tgz", + "integrity": "sha512-7UntzqIBih+xZLCB/f9pxuvNP3EBgexfQDbf8r9p58DHWAiSQwamLjcRHKqmujjp0uX1QChtp6oUxEkK+sFKtA==" + }, "query-string": { "version": "4.3.4", "resolved": "https://registry.npmmirror.com/query-string/-/query-string-4.3.4.tgz", @@ -34055,27 +34173,73 @@ } }, "sass": { - "version": "1.49.8", - "resolved": "https://registry.npmmirror.com/sass/-/sass-1.49.8.tgz", - "integrity": "sha512-NoGOjvDDOU9og9oAxhRnap71QaTjjlzrvLnKecUJ3GxhaQBrV6e7gPuSPF28u1OcVAArVojPAe4ZhOXwwC4tGw==", + "version": "1.32.12", + "resolved": "https://registry.npmmirror.com/sass/-/sass-1.32.12.tgz", + "integrity": "sha512-zmXn03k3hN0KaiVTjohgkg98C3UowhL1/VSGdj4/VAAiMKGQOE80PFPxFP2Kyq0OUskPKcY5lImkhBKEHlypJA==", "dev": true, "requires": { - "chokidar": ">=3.0.0 <4.0.0", - "immutable": "^4.0.0", - "source-map-js": ">=0.6.2 <2.0.0" + "chokidar": ">=3.0.0 <4.0.0" } }, "sass-loader": { - "version": "8.0.2", - "resolved": "https://registry.npmmirror.com/sass-loader/-/sass-loader-8.0.2.tgz", - "integrity": "sha512-7o4dbSK8/Ol2KflEmSco4jTjQoV988bM82P9CZdmo9hR3RLnvNc0ufMNdMrB0caq38JQ/FgF4/7RcbcfKzxoFQ==", + "version": "10.2.1", + "resolved": "https://registry.npmmirror.com/sass-loader/-/sass-loader-10.2.1.tgz", + "integrity": "sha512-RRvWl+3K2LSMezIsd008ErK4rk6CulIMSwrcc2aZvjymUgKo/vjXGp1rSWmfTUX7bblEOz8tst4wBwWtCGBqKA==", "dev": true, "requires": { - "clone-deep": "^4.0.1", - "loader-utils": "^1.2.3", - "neo-async": "^2.6.1", - "schema-utils": "^2.6.1", - "semver": "^6.3.0" + "klona": "^2.0.4", + "loader-utils": "^2.0.0", + "neo-async": "^2.6.2", + "schema-utils": "^3.0.0", + "semver": "^7.3.2" + }, + "dependencies": { + "loader-utils": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.2.tgz", + "integrity": "sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A==", + "dev": true, + "requires": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + } + }, + "lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "requires": { + "yallist": "^4.0.0" + } + }, + "schema-utils": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/schema-utils/-/schema-utils-3.1.1.tgz", + "integrity": "sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.8", + "ajv": "^6.12.5", + "ajv-keywords": "^3.5.2" + } + }, + "semver": { + "version": "7.3.5", + "resolved": "https://registry.npmmirror.com/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + } } }, "sax": { @@ -36136,6 +36300,27 @@ "resolved": "https://registry.npmmirror.com/vue-class-component/-/vue-class-component-8.0.0-rc.1.tgz", "integrity": "sha512-w1nMzsT/UdbDAXKqhwTmSoyuJzUXKrxLE77PCFVuC6syr8acdFDAq116xgvZh9UCuV0h+rlCtxXolr3Hi3HyPQ==" }, + "vue-cli-plugin-quasar": { + "version": "4.0.4", + "resolved": "https://registry.npmmirror.com/vue-cli-plugin-quasar/-/vue-cli-plugin-quasar-4.0.4.tgz", + "integrity": "sha512-clCEEVQZ4jgayes6CMBDVyuM+y7hQDGs2xBPXpfa1amjE5uoVMF5h8caJCMscPgOEihJibFOwRlpOcn+4q8Gew==", + "dev": true, + "requires": { + "webpack-merge": "^5.7.3" + }, + "dependencies": { + "webpack-merge": { + "version": "5.8.0", + "resolved": "https://registry.npmmirror.com/webpack-merge/-/webpack-merge-5.8.0.tgz", + "integrity": "sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q==", + "dev": true, + "requires": { + "clone-deep": "^4.0.1", + "wildcard": "^2.0.0" + } + } + } + }, "vue-eslint-parser": { "version": "7.11.0", "resolved": "https://registry.npmmirror.com/vue-eslint-parser/-/vue-eslint-parser-7.11.0.tgz", @@ -37177,6 +37362,12 @@ "integrity": "sha512-B+enWhmw6cjfVC7kS8Pj9pCrKSc5txArRyaYGe088shv/FGWH+0Rjx/xPgtsWfsUtS27FkP697E4DDhgrgoc0Q==", "dev": true }, + "wildcard": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/wildcard/-/wildcard-2.0.0.tgz", + "integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==", + "dev": true + }, "word-wrap": { "version": "1.2.3", "resolved": "https://registry.npmmirror.com/word-wrap/-/word-wrap-1.2.3.tgz", diff --git a/package.json b/package.json index 94291a87b..ec5ad9171 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,9 @@ "lint": "vue-cli-service lint" }, "dependencies": { + "@quasar/extras": "^1.0.0", "core-js": "^3.6.5", + "quasar": "^2.0.0", "vue": "^3.0.0", "vue-class-component": "^8.0.0-0", "vue-router": "^4.0.0-0", @@ -36,9 +38,10 @@ "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-vue": "^7.0.0", "prettier": "^2.2.1", - "sass": "^1.26.5", - "sass-loader": "^8.0.2", + "sass": "1.32.12", + "sass-loader": "^10.1.0", "typescript": "~4.1.5", + "vue-cli-plugin-quasar": "~4.0.4", "vue-jest": "^5.0.0-0" } } diff --git a/public/favicon.ico b/public/favicon.ico index df36fcfb7..ae7bbdb71 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/src/App.vue b/src/App.vue index 113b6b81a..88bfe10c6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,30 +1,114 @@ - - Home | - About - - + + + + + + Quasar App + + Quasar v{{ $q.version }} + + + + + + Essential Links + + + + + + Docs + quasar.dev + + + + + + + + Github + github.com/quasarframework + + + + + + + + Discord Chat Channel + chat.quasar.dev + + + + + + + + Forum + forum.quasar.dev + + + + + + + + Twitter + @quasarframework + + + + + + + + + - + setup() { + return { + leftDrawerOpen: ref(false), + }; + }, +}; + diff --git a/src/assets/logo.svg b/src/assets/logo.svg new file mode 100644 index 000000000..87a1eee6d --- /dev/null +++ b/src/assets/logo.svg @@ -0,0 +1,15 @@ + + + + + + + + + diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue index 622971755..69494b443 100644 --- a/src/components/HelloWorld.vue +++ b/src/components/HelloWorld.vue @@ -1,158 +1,17 @@ - - {{ msg }} - - For a guide and recipes on how to configure / customize this project, - check out the - vue-cli documentation. - - Installed CLI Plugins - - - babel - - - router - - - vuex - - - eslint - - - unit-jest - - - e2e-cypress - - - typescript - - - Essential Links - - - Core Docs - - - Forum - - - Community Chat - - - Twitter - - - News - - - Ecosystem - - - vue-router - - - vuex - - - vue-devtools - - - vue-loader - - - awesome-vue - - - + + + - - - - diff --git a/src/main.ts b/src/main.ts index 89ba0ea6a..3f1b7d457 100644 --- a/src/main.ts +++ b/src/main.ts @@ -2,5 +2,11 @@ import { createApp } from "vue"; import App from "./App.vue"; import router from "./router"; import store from "./store"; +import { Quasar } from "quasar"; +import quasarUserOptions from "./quasar-user-options"; -createApp(App).use(store).use(router).mount("#app"); +createApp(App) + .use(Quasar, quasarUserOptions) + .use(store) + .use(router) + .mount("#app"); diff --git a/src/quasar-user-options.ts b/src/quasar-user-options.ts new file mode 100644 index 000000000..7b1ad0695 --- /dev/null +++ b/src/quasar-user-options.ts @@ -0,0 +1,11 @@ +import "./styles/quasar.scss"; +import lang from "quasar/lang/es.js"; +import "@quasar/extras/roboto-font/roboto-font.css"; +import "@quasar/extras/material-icons/material-icons.css"; + +// To be used on app.use(Quasar, { ... }) +export default { + config: {}, + plugins: {}, + lang: lang, +}; diff --git a/src/styles/quasar.scss b/src/styles/quasar.scss new file mode 100644 index 000000000..7991e666b --- /dev/null +++ b/src/styles/quasar.scss @@ -0,0 +1,3 @@ +@import './quasar.variables.scss'; +@import '~quasar-styl'; +// @import '~quasar-addon-styl'; diff --git a/src/styles/quasar.variables.scss b/src/styles/quasar.variables.scss new file mode 100644 index 000000000..115c79a02 --- /dev/null +++ b/src/styles/quasar.variables.scss @@ -0,0 +1,15 @@ +// It's highly recommended to change the default colors +// to match your app's branding. + +$primary : #027BE3; +$secondary : #26A69A; +$accent : #9C27B0; + +$dark : #1D1D1D; + +$positive : #21BA45; +$negative : #C10015; +$info : #31CCEC; +$warning : #F2C037; + +@import '~quasar-variables-styl' diff --git a/vue.config.js b/vue.config.js new file mode 100644 index 000000000..39ab3136c --- /dev/null +++ b/vue.config.js @@ -0,0 +1,9 @@ +module.exports = { + pluginOptions: { + quasar: { + importStrategy: "kebab", + rtlSupport: false, + }, + }, + transpileDependencies: ["quasar"], +};
- For a guide and recipes on how to configure / customize this project, - check out the - vue-cli documentation. -