create-quasar 1.5.3 → 1.5.5

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.5.3",
3
+ "version": "1.5.5",
4
4
  "description": "Scaffolds Quasar Apps, AppExtensions or UI kits",
5
5
  "author": {
6
6
  "name": "Razvan Stoenescu",
@@ -8,7 +8,7 @@
8
8
  import { configure } from 'quasar/wrappers'
9
9
  <% if (preset.i18n) { %>import { fileURLToPath } from 'node:url';<% } %>
10
10
 
11
- export default configure((/* ctx */) => {
11
+ export default configure((<% if (preset.i18n) { %>ctx<% } else { %>/* ctx */<% } %>) => {
12
12
  return {
13
13
  <% if (preset.lint) { %>eslint: {
14
14
  // fix: true,
@@ -85,6 +85,8 @@ export default configure((/* ctx */) => {
85
85
  // you need to set `runtimeOnly: false`
86
86
  // runtimeOnly: false,
87
87
 
88
+ ssr: ctx.modeName === 'ssr',
89
+
88
90
  // you need to set i18n resource including paths !
89
91
  include: [ fileURLToPath(new URL('./src/i18n', import.meta.url)) ],
90
92
  }]
@@ -9,7 +9,7 @@
9
9
  import { configure } from 'quasar/wrappers';
10
10
  <% if (preset.i18n) { %>import { fileURLToPath } from 'node:url';<% } %>
11
11
 
12
- export default configure((/* ctx */) => {
12
+ export default configure((<% if (preset.i18n) { %>ctx<% } else { %>/* ctx */<% } %>) => {
13
13
  return {
14
14
  <% if (preset.lint) { %>eslint: {
15
15
  // fix: true,
@@ -86,6 +86,8 @@ export default configure((/* ctx */) => {
86
86
  // you need to set `runtimeOnly: false`
87
87
  // runtimeOnly: false,
88
88
 
89
+ ssr: ctx.modeName === 'ssr',
90
+
89
91
  // you need to set i18n resource including paths !
90
92
  include: [ fileURLToPath(new URL('./src/i18n', import.meta.url)) ],
91
93
  }]