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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-quasar",
3
- "version": "1.0.4",
3
+ "version": "1.0.7",
4
4
  "description": "Scaffolds Quasar Apps, AppExtensions or UI kits",
5
5
  "author": {
6
6
  "name": "Razvan Stoenescu",
@@ -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 (preset.lint && lintConfig === 'prettier') { %>"format": "prettier --write \"**/*.{js,vue<% if (css !== 'sass') { %>,<%= css %><% } %>,html,md,json}\" --ignore-path .gitignore",<% } %>
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": {
@@ -12,6 +12,6 @@
12
12
  import { defineComponent } from 'vue'
13
13
 
14
14
  export default defineComponent({
15
- name: 'PageIndex'
15
+ name: 'IndexPage'
16
16
  })
17
17
  </script>
@@ -4,7 +4,7 @@ const routes = [
4
4
  path: '/',
5
5
  component: () => import('layouts/MainLayout.vue'),
6
6
  children: [
7
- { path: '', component: () => import('pages/Index.vue') }
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/Error404.vue')
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 (preset.lint && lintConfig === 'prettier') { %>"format": "prettier --write \"**/*.{js,vue<% if (css !== 'sass') { %>,<%= css %><% } %>,html,md,json}\" --ignore-path .gitignore",<% } %>
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": {
@@ -12,6 +12,6 @@
12
12
  import { defineComponent } from 'vue'
13
13
 
14
14
  export default defineComponent({
15
- name: 'PageIndex'
15
+ name: 'IndexPage'
16
16
  })
17
17
  </script>
@@ -4,7 +4,7 @@ const routes = [
4
4
  path: '/',
5
5
  component: () => import('layouts/MainLayout.vue'),
6
6
  children: [
7
- { path: '', component: () => import('pages/Index.vue') }
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/Error404.vue')
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": {
@@ -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: 'PageIndex',
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: 'PageIndex',
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 PageIndex extends Vue {
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/Index.vue') }],
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/Error404.vue'),
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": {
@@ -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: 'PageIndex',
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: 'PageIndex',
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 PageIndex extends Vue {
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/Index.vue') }],
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/Error404.vue'),
14
+ component: () => import('pages/ErrorNotFound.vue'),
15
15
  },
16
16
  ];
17
17