create-quasar 1.0.4 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/app/quasar-v2/js-vite/BASE/package.json +3 -2
- package/templates/app/quasar-v2/js-vite/BASE/src/pages/{Error404.vue → ErrorNotFound.vue} +0 -0
- package/templates/app/quasar-v2/js-vite/BASE/src/pages/{Index.vue → IndexPage.vue} +1 -1
- package/templates/app/quasar-v2/js-vite/BASE/src/router/routes.js +2 -2
- package/templates/app/quasar-v2/js-webpack/BASE/package.json +3 -2
- package/templates/app/quasar-v2/js-webpack/BASE/src/pages/{Error404.vue → ErrorNotFound.vue} +0 -0
- package/templates/app/quasar-v2/js-webpack/BASE/src/pages/{Index.vue → IndexPage.vue} +1 -1
- package/templates/app/quasar-v2/js-webpack/BASE/src/router/routes.js +2 -2
- package/templates/app/quasar-v2/ts-vite/BASE/package.json +2 -1
- package/templates/app/quasar-v2/ts-vite/BASE/{postcssrc.config.js → postcss.config.js} +0 -0
- package/templates/app/quasar-v2/ts-vite/BASE/src/pages/{Error404.vue → ErrorNotFound.vue} +0 -0
- package/templates/app/quasar-v2/ts-vite/BASE/src/pages/{Index.vue → IndexPage.vue} +3 -3
- package/templates/app/quasar-v2/ts-vite/BASE/src/router/routes.ts +2 -2
- package/templates/app/quasar-v2/ts-webpack/BASE/package.json +2 -1
- package/templates/app/quasar-v2/ts-webpack/BASE/src/pages/{Error404.vue → ErrorNotFound.vue} +0 -0
- package/templates/app/quasar-v2/ts-webpack/BASE/src/pages/{Index.vue → IndexPage.vue} +3 -3
- package/templates/app/quasar-v2/ts-webpack/BASE/src/router/routes.ts +2 -2
package/package.json
CHANGED
|
@@ -6,8 +6,9 @@
|
|
|
6
6
|
"author": "<%= author %>",
|
|
7
7
|
"private": true,
|
|
8
8
|
"scripts": {
|
|
9
|
-
<% if (preset.lint) { %>"lint": "eslint --ext .js,.vue ./"
|
|
10
|
-
<% if (
|
|
9
|
+
<% if (preset.lint) { %>"lint": "eslint --ext .js,.vue ./",
|
|
10
|
+
<% if (lintConfig === 'prettier') { %>"format": "prettier --write \"**/*.{js,vue<% if (css !== 'sass') { %>,<%= css %><% } %>,html,md,json}\" --ignore-path .gitignore",<% } %>
|
|
11
|
+
<% } %>
|
|
11
12
|
"test": "echo \"No test specified\" && exit 0"
|
|
12
13
|
},
|
|
13
14
|
"dependencies": {
|
|
File without changes
|
|
@@ -4,7 +4,7 @@ const routes = [
|
|
|
4
4
|
path: '/',
|
|
5
5
|
component: () => import('layouts/MainLayout.vue'),
|
|
6
6
|
children: [
|
|
7
|
-
{ path: '', component: () => import('pages/
|
|
7
|
+
{ path: '', component: () => import('pages/IndexPage.vue') }
|
|
8
8
|
]
|
|
9
9
|
},
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ const routes = [
|
|
|
12
12
|
// but you can also remove it
|
|
13
13
|
{
|
|
14
14
|
path: '/:catchAll(.*)*',
|
|
15
|
-
component: () => import('pages/
|
|
15
|
+
component: () => import('pages/ErrorNotFound.vue')
|
|
16
16
|
}
|
|
17
17
|
]
|
|
18
18
|
|
|
@@ -6,8 +6,9 @@
|
|
|
6
6
|
"author": "<%= author %>",
|
|
7
7
|
"private": true,
|
|
8
8
|
"scripts": {
|
|
9
|
-
<% if (preset.lint) { %>"lint": "eslint --ext .js,.vue ./"
|
|
10
|
-
<% if (
|
|
9
|
+
<% if (preset.lint) { %>"lint": "eslint --ext .js,.vue ./",
|
|
10
|
+
<% if (lintConfig === 'prettier') { %>"format": "prettier --write \"**/*.{js,vue<% if (css !== 'sass') { %>,<%= css %><% } %>,html,md,json}\" --ignore-path .gitignore",<% } %>
|
|
11
|
+
<% } %>
|
|
11
12
|
"test": "echo \"No test specified\" && exit 0"
|
|
12
13
|
},
|
|
13
14
|
"dependencies": {
|
package/templates/app/quasar-v2/js-webpack/BASE/src/pages/{Error404.vue → ErrorNotFound.vue}
RENAMED
|
File without changes
|
|
@@ -4,7 +4,7 @@ const routes = [
|
|
|
4
4
|
path: '/',
|
|
5
5
|
component: () => import('layouts/MainLayout.vue'),
|
|
6
6
|
children: [
|
|
7
|
-
{ path: '', component: () => import('pages/
|
|
7
|
+
{ path: '', component: () => import('pages/IndexPage.vue') }
|
|
8
8
|
]
|
|
9
9
|
},
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ const routes = [
|
|
|
12
12
|
// but you can also remove it
|
|
13
13
|
{
|
|
14
14
|
path: '/:catchAll(.*)*',
|
|
15
|
-
component: () => import('pages/
|
|
15
|
+
component: () => import('pages/ErrorNotFound.vue')
|
|
16
16
|
}
|
|
17
17
|
]
|
|
18
18
|
|
|
@@ -6,8 +6,9 @@
|
|
|
6
6
|
"author": "<%= author %>",
|
|
7
7
|
"private": true,
|
|
8
8
|
"scripts": {
|
|
9
|
-
<% if (preset.lint) { %>"lint": "eslint --ext .js,.ts,.vue ./"
|
|
9
|
+
<% if (preset.lint) { %>"lint": "eslint --ext .js,.ts,.vue ./",
|
|
10
10
|
<% if (lintConfig === 'prettier') { %>"format": "prettier --write \"**/*.{js,ts,vue,<% if (css !== 'sass') { %><%= css %><% } %>,html,md,json}\" --ignore-path .gitignore",<% } %>
|
|
11
|
+
<% } %>
|
|
11
12
|
"test": "echo \"No test specified\" && exit 0"
|
|
12
13
|
},
|
|
13
14
|
"dependencies": {
|
|
File without changes
|
|
File without changes
|
|
@@ -15,7 +15,7 @@ import ExampleComponent from 'components/ExampleComponent.vue';
|
|
|
15
15
|
import { defineComponent, ref } from 'vue';
|
|
16
16
|
|
|
17
17
|
export default defineComponent({
|
|
18
|
-
name: '
|
|
18
|
+
name: 'IndexPage',
|
|
19
19
|
components: { ExampleComponent },
|
|
20
20
|
setup () {
|
|
21
21
|
const todos = ref<Todo[]>([
|
|
@@ -50,7 +50,7 @@ import ExampleComponent from 'components/ExampleComponent.vue';
|
|
|
50
50
|
import { defineComponent } from 'vue';
|
|
51
51
|
|
|
52
52
|
export default defineComponent({
|
|
53
|
-
name: '
|
|
53
|
+
name: 'IndexPage',
|
|
54
54
|
components: { ExampleComponent },
|
|
55
55
|
data () {
|
|
56
56
|
const todos: Todo[] = [
|
|
@@ -88,7 +88,7 @@ import ExampleComponent from 'components/ExampleComponent.vue';
|
|
|
88
88
|
@Options({
|
|
89
89
|
components: { ExampleComponent }
|
|
90
90
|
})
|
|
91
|
-
export default class
|
|
91
|
+
export default class IndexPage extends Vue {
|
|
92
92
|
todos: Todo[] = [
|
|
93
93
|
{
|
|
94
94
|
id: 1,
|
|
@@ -4,14 +4,14 @@ const routes: RouteRecordRaw[] = [
|
|
|
4
4
|
{
|
|
5
5
|
path: '/',
|
|
6
6
|
component: () => import('layouts/MainLayout.vue'),
|
|
7
|
-
children: [{ path: '', component: () => import('pages/
|
|
7
|
+
children: [{ path: '', component: () => import('pages/IndexPage.vue') }],
|
|
8
8
|
},
|
|
9
9
|
|
|
10
10
|
// Always leave this as last one,
|
|
11
11
|
// but you can also remove it
|
|
12
12
|
{
|
|
13
13
|
path: '/:catchAll(.*)*',
|
|
14
|
-
component: () => import('pages/
|
|
14
|
+
component: () => import('pages/ErrorNotFound.vue'),
|
|
15
15
|
},
|
|
16
16
|
];
|
|
17
17
|
|
|
@@ -6,8 +6,9 @@
|
|
|
6
6
|
"author": "<%= author %>",
|
|
7
7
|
"private": true,
|
|
8
8
|
"scripts": {
|
|
9
|
-
<% if (preset.lint) { %>"lint": "eslint --ext .js,.ts,.vue ./"
|
|
9
|
+
<% if (preset.lint) { %>"lint": "eslint --ext .js,.ts,.vue ./",
|
|
10
10
|
<% if (lintConfig === 'prettier') { %>"format": "prettier --write \"**/*.{js,ts,vue,<% if (css !== 'sass') { %><%= css %><% } %>,html,md,json}\" --ignore-path .gitignore",<% } %>
|
|
11
|
+
<% } %>
|
|
11
12
|
"test": "echo \"No test specified\" && exit 0"
|
|
12
13
|
},
|
|
13
14
|
"dependencies": {
|
package/templates/app/quasar-v2/ts-webpack/BASE/src/pages/{Error404.vue → ErrorNotFound.vue}
RENAMED
|
File without changes
|
|
@@ -15,7 +15,7 @@ import ExampleComponent from 'components/ExampleComponent.vue';
|
|
|
15
15
|
import { defineComponent, ref } from 'vue';
|
|
16
16
|
|
|
17
17
|
export default defineComponent({
|
|
18
|
-
name: '
|
|
18
|
+
name: 'IndexPage',
|
|
19
19
|
components: { ExampleComponent },
|
|
20
20
|
setup() {
|
|
21
21
|
const todos = ref<Todo[]>([
|
|
@@ -50,7 +50,7 @@ import ExampleComponent from 'components/ExampleComponent.vue';
|
|
|
50
50
|
import { defineComponent } from 'vue';
|
|
51
51
|
|
|
52
52
|
export default defineComponent({
|
|
53
|
-
name: '
|
|
53
|
+
name: 'IndexPage',
|
|
54
54
|
components: { ExampleComponent },
|
|
55
55
|
data() {
|
|
56
56
|
const todos: Todo[] = [
|
|
@@ -88,7 +88,7 @@ import ExampleComponent from 'components/ExampleComponent.vue';
|
|
|
88
88
|
@Options({
|
|
89
89
|
components: { ExampleComponent }
|
|
90
90
|
})
|
|
91
|
-
export default class
|
|
91
|
+
export default class IndexPage extends Vue {
|
|
92
92
|
todos: Todo[] = [
|
|
93
93
|
{
|
|
94
94
|
id: 1,
|
|
@@ -4,14 +4,14 @@ const routes: RouteRecordRaw[] = [
|
|
|
4
4
|
{
|
|
5
5
|
path: '/',
|
|
6
6
|
component: () => import('layouts/MainLayout.vue'),
|
|
7
|
-
children: [{ path: '', component: () => import('pages/
|
|
7
|
+
children: [{ path: '', component: () => import('pages/IndexPage.vue') }],
|
|
8
8
|
},
|
|
9
9
|
|
|
10
10
|
// Always leave this as last one,
|
|
11
11
|
// but you can also remove it
|
|
12
12
|
{
|
|
13
13
|
path: '/:catchAll(.*)*',
|
|
14
|
-
component: () => import('pages/
|
|
14
|
+
component: () => import('pages/ErrorNotFound.vue'),
|
|
15
15
|
},
|
|
16
16
|
];
|
|
17
17
|
|