@pinegrow/vite-plugin 3.0.27 → 3.0.28

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +5 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinegrow/vite-plugin",
3
- "version": "3.0.27",
3
+ "version": "3.0.28",
4
4
  "description": "Pinegrow Vite Plugin",
5
5
  "type": "module",
6
6
  "files": [
package/types.d.ts CHANGED
@@ -57,12 +57,14 @@ export interface LiveDesignerOptions {
57
57
  * Mapping of custom folder setup that deviates from the standard project setup of the framework/meta-framework
58
58
  * For eg, in Vitepress, the standard folders could be re-mapped outside the .vitepress folder.
59
59
  * Vue Designer utilizes this information when a user intends to create a new component from the page tree or the Vue menu.
60
+ * componentsPathPrefix is used to convert a component for eg, hero/Image.vue into HeroImage.vue. Nuxt uses this convention by default for it's components folder.
60
61
  */
61
62
  dirs?: {
62
63
  src?: string
63
- components: string
64
- pages: string
65
- layouts: string
64
+ components?: string
65
+ componentsPathPrefix?: boolean // default: false, true for Nuxt projects
66
+ pages?: string
67
+ layouts?: string
66
68
  }
67
69
 
68
70
  /**