@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/README.md +35 -1
- package/dist/index.cjs +1 -1
- package/package.json +1 -1
- package/types.d.ts +13 -1
package/README.md
CHANGED
|
@@ -105,10 +105,43 @@ export interface LiveDesignerOptions {
|
|
|
105
105
|
*/
|
|
106
106
|
devtoolsKey?: string
|
|
107
107
|
|
|
108
|
+
/**
|
|
109
|
+
* Mapping of custom folder setup that deviates from the standard project setup of the framework/meta-framework
|
|
110
|
+
* For eg, in Vitepress, the standard folders could be re-mapped outside the .vitepress folder.
|
|
111
|
+
* Vue Designer utilizes this information when a user intends to create a new component from the page tree or the Vue menu.
|
|
112
|
+
*/
|
|
113
|
+
dirs?: {
|
|
114
|
+
src?: string
|
|
115
|
+
components?: string
|
|
116
|
+
pages?: string
|
|
117
|
+
layouts?: string
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* 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'].
|
|
122
|
+
|
|
123
|
+
To open a specific page or component as the default startup page, configure the startupPage key in your liveDesigner config.
|
|
124
|
+
* For eg '@/Pages/Welcome.vue',
|
|
125
|
+
* For eg './resources/js/Pages/Welcome.vue',
|
|
126
|
+
*/
|
|
127
|
+
startupPage?: string
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Dev-server URLs.
|
|
131
|
+
* The local URL is set to the application URL, when Vite is used as a middleware in certain setups, such as Laravel applications.
|
|
132
|
+
* The network URL is set when when the dev-server is running on a remote server/machine.
|
|
133
|
+
* 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).
|
|
134
|
+
*/
|
|
135
|
+
devServerUrls?: {
|
|
136
|
+
local?: string
|
|
137
|
+
network?: string
|
|
138
|
+
}
|
|
139
|
+
|
|
108
140
|
/**
|
|
109
141
|
* Preferred format for icons in icon-picker - https://github.com/antfu/icones/blob/main/src/utils/case.ts
|
|
110
142
|
* * @default 'unocss' // For eg, i-material-symbols-home
|
|
111
|
-
* When using Nuxt-Icon, you need to change this to 'iconify'
|
|
143
|
+
* * When using Nuxt-Icon, you need to change this to 'iconify'
|
|
144
|
+
*
|
|
112
145
|
*/
|
|
113
146
|
iconPreferredCase?:
|
|
114
147
|
| 'unocss'
|
|
@@ -141,6 +174,7 @@ export interface LiveDesignerOptions {
|
|
|
141
174
|
* For options, refer to https://www.npmjs.com/package/@pinegrow/tailwindcss-plugin
|
|
142
175
|
*/
|
|
143
176
|
tailwindcss?: PinegrowTailwindCSSModuleOptions
|
|
177
|
+
vuetify?: PinegrowVuetifyModuleOptions
|
|
144
178
|
}
|
|
145
179
|
|
|
146
180
|
interface PinegrowVitePlugin<VitePluginOption> {
|