Skip to content

Commit 955fb01

Browse files
author
Jose
committed
Init project added pug and styl loaders, alias webpack cofig
0 parents  commit 955fb01

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+7277
-0
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.eslintignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/dist
2+
/src-bex/www
3+
/src-capacitor
4+
/src-cordova
5+
/.quasar
6+
/node_modules
7+
.eslintrc.js
8+
babel.config.js

.eslintrc.js

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
module.exports = {
2+
// https://eslint.org/docs/user-guide/configuring#configuration-cascading-and-hierarchy
3+
// This option interrupts the configuration hierarchy at this file
4+
// Remove this if you have an higher level ESLint config file (it usually happens into a monorepos)
5+
root: true,
6+
7+
parserOptions: {
8+
parser: '@babel/eslint-parser',
9+
ecmaVersion: 2018, // Allows for the parsing of modern ECMAScript features
10+
sourceType: 'module' // Allows for the use of imports
11+
},
12+
13+
env: {
14+
browser: true
15+
},
16+
17+
// Rules order is important, please avoid shuffling them
18+
extends: [
19+
// Base ESLint recommended rules
20+
// 'eslint:recommended',
21+
22+
23+
// Uncomment any of the lines below to choose desired strictness,
24+
// but leave only one uncommented!
25+
// See https://eslint.vuejs.org/rules/#available-rules
26+
'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention)
27+
// 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability)
28+
// 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
29+
30+
// https://github.com/prettier/eslint-config-prettier#installation
31+
// usage with Prettier, provided by 'eslint-config-prettier'.
32+
'prettier'
33+
],
34+
35+
plugins: [
36+
// https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-file
37+
// required to lint *.vue files
38+
'vue',
39+
40+
// https://github.com/typescript-eslint/typescript-eslint/issues/389#issuecomment-509292674
41+
// Prettier has not been included as plugin to avoid performance impact
42+
// add it as an extension for your IDE
43+
],
44+
45+
globals: {
46+
ga: 'readonly', // Google Analytics
47+
cordova: 'readonly',
48+
__statics: 'readonly',
49+
__QUASAR_SSR__: 'readonly',
50+
__QUASAR_SSR_SERVER__: 'readonly',
51+
__QUASAR_SSR_CLIENT__: 'readonly',
52+
__QUASAR_SSR_PWA__: 'readonly',
53+
process: 'readonly',
54+
Capacitor: 'readonly',
55+
chrome: 'readonly'
56+
},
57+
58+
// add your custom rules here
59+
rules: {
60+
'prefer-promise-reject-errors': 'off',
61+
62+
63+
// allow debugger during development only
64+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
65+
}
66+
}

.postcssrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// https://github.com/michael-ciniawsky/postcss-load-config
2+
3+
module.exports = {
4+
plugins: [
5+
// to edit target browsers: use "browserslist" field in package.json
6+
require('autoprefixer')
7+
]
8+
}

.vscode/extensions.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"recommendations": [
3+
"dbaeumer.vscode-eslint",
4+
"esbenp.prettier-vscode",
5+
"octref.vetur"
6+
],
7+
"unwantedRecommendations": [
8+
"hookyqr.beautify",
9+
"dbaeumer.jshint",
10+
"ms-vscode.vscode-typescript-tslint-plugin"
11+
]
12+
}

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"vetur.validation.template": false,
3+
"vetur.format.enable": false,
4+
"eslint.validate": ["javascript", "javascriptreact", "typescript", "vue"],
5+
6+
"vetur.experimental.templateInterpolationService": true
7+
}

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Hashed template quasar vue 3 (hashed-template-quasar-vue3)
2+
3+
This is a template developed by HASHED
4+
5+
## Install the dependencies
6+
```bash
7+
yarn
8+
```
9+
10+
### Start the app in development mode (hot-code reloading, error reporting, etc.)
11+
```bash
12+
quasar dev
13+
```
14+
15+
### Lint the files
16+
```bash
17+
yarn run lint
18+
```
19+
20+
### Build the app for production
21+
```bash
22+
quasar build
23+
```
24+
25+
### Customize the configuration
26+
See [Configuring quasar.conf.js](https://quasar.dev/quasar-cli/quasar-conf-js).

babel.config.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
3+
module.exports = api => {
4+
return {
5+
presets: [
6+
[
7+
'@quasar/babel-preset-app',
8+
api.caller(caller => caller && caller.target === 'node')
9+
? { targets: { node: 'current' } }
10+
: {}
11+
]
12+
]
13+
}
14+
}
15+

jsconfig.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": ".",
4+
"paths": {
5+
"src/*": [
6+
"src/*"
7+
],
8+
"app/*": [
9+
"*"
10+
],
11+
"components/*": [
12+
"src/components/*"
13+
],
14+
"layouts/*": [
15+
"src/layouts/*"
16+
],
17+
"pages/*": [
18+
"src/pages/*"
19+
],
20+
"assets/*": [
21+
"src/assets/*"
22+
],
23+
"boot/*": [
24+
"src/boot/*"
25+
],
26+
"vue$": [
27+
"node_modules/vue/dist/vue.runtime.esm-bundler.js"
28+
]
29+
}
30+
},
31+
"exclude": [
32+
"dist",
33+
".quasar",
34+
"node_modules"
35+
]
36+
}

package.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"name": "hashed-template-quasar-vue3",
3+
"version": "0.0.1",
4+
"description": "This is a template developed by HASHED",
5+
"productName": "Hashed Template",
6+
"author": "Jose Maria <[email protected]",
7+
"private": true,
8+
"scripts": {
9+
"lint": "eslint --ext .js,.vue ./",
10+
"test": "echo \"No test specified\" && exit 0"
11+
},
12+
"dependencies": {
13+
"@quasar/extras": "^1.0.0",
14+
"axios": "^0.21.1",
15+
"core-js": "^3.6.5",
16+
"quasar": "^2.0.0",
17+
"vue": "^3.0.0",
18+
"vue-i18n": "^9.0.0",
19+
"vue-router": "^4.0.0",
20+
"vuex": "^4.0.1"
21+
},
22+
"devDependencies": {
23+
"@babel/eslint-parser": "^7.13.14",
24+
"@quasar/app": "^3.0.0",
25+
"eslint": "^7.14.0",
26+
"eslint-config-prettier": "^8.1.0",
27+
"eslint-plugin-vue": "^7.0.0",
28+
"eslint-webpack-plugin": "^2.4.0",
29+
"pug": "^3.0.2",
30+
"pug-plain-loader": "^1.1.0",
31+
"stylus": "^0.56.0",
32+
"stylus-loader": "^6.2.0"
33+
},
34+
"browserslist": [
35+
"last 10 Chrome versions",
36+
"last 10 Firefox versions",
37+
"last 4 Edge versions",
38+
"last 7 Safari versions",
39+
"last 8 Android versions",
40+
"last 8 ChromeAndroid versions",
41+
"last 8 FirefoxAndroid versions",
42+
"last 10 iOS versions",
43+
"last 5 Opera versions"
44+
],
45+
"engines": {
46+
"node": ">= 12.22.1",
47+
"npm": ">= 6.13.4",
48+
"yarn": ">= 1.21.1"
49+
}
50+
}

public/favicon.ico

63 KB
Binary file not shown.

public/icons/favicon-128x128.png

12 KB
Loading

public/icons/favicon-16x16.png

859 Bytes
Loading

public/icons/favicon-32x32.png

1.99 KB
Loading

public/icons/favicon-96x96.png

9.42 KB
Loading

0 commit comments

Comments
 (0)