@pinegrow/vite-plugin 3.0.33 → 3.0.35-beta.0

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": "@pinegrow/vite-plugin",
3
- "version": "3.0.33",
3
+ "version": "3.0.35-beta.0",
4
4
  "description": "Pinegrow Vite Plugin",
5
5
  "type": "module",
6
6
  "files": [
package/types.d.ts CHANGED
@@ -66,7 +66,19 @@ export interface LiveDesignerOptions {
66
66
  }
67
67
 
68
68
  /**
69
- * Dev-server URLs. This is generally not required, but if used as part of any troubleshooting, these URLs must be configured within the CLI to make sure the URLs are fixed. For eg, use the `server.host` & `server.port` options for Vite - https://vitejs.dev/config/server-options.html#server-options).
69
+ * By default, one among the pages and components following these naming conventions is opened automatically as the startup page - ['Hero*', 'app', 'App', 'home', 'Home', 'index', 'Index', 'welcome', 'Welcome'].
70
+
71
+ To open a specific page or component as the default startup page, configure the startupPage key in your liveDesigner config.
72
+ * For eg '@/Pages/Welcome.vue',
73
+ * For eg './resources/js/Pages/Welcome.vue',
74
+ */
75
+ startupPage?: string
76
+
77
+ /**
78
+ * Dev-server URLs.
79
+ * The local URL is set to the application URL, when Vite is used as a middleware in certain setups, such as Laravel applications.
80
+ * The network URL is set when when the dev-server is running on a remote server/machine.
81
+ * Make sure the URLs are fixed via the CLI configurations, so that the next available port is not auto-picked if the fixed URL's port was already used by some other process. For Vite, use the `server.host` & `server.port` options for Vite - https://vitejs.dev/config/server-options.html#server-options).
70
82
  */
71
83
  devServerUrls?: {
72
84
  local?: string