@pinegrow/vite-plugin 3.0.0-beta.13 → 3.0.0-beta.131

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 CHANGED
@@ -1,6 +1,70 @@
1
- # @pinegrow/vite-plugin
1
+ <!-- [![@pinegrow/vite-plugin](https://tailwindcss.nuxtjs.org/social-card.png)](https://tailwindcss.nuxtjs.org) -->
2
2
 
3
- ## Vite plugin for Pinegrow
3
+ # Pinegrow Vite Plugin
4
4
 
5
- http://www.pinegrow.com
5
+ [![npm version][npm-version-src]][npm-version-href]
6
+ [![npm downloads][npm-downloads-src]][npm-downloads-href]
7
+ [![License][license-src]][license-href]
8
+
9
+ [Vite](https://vitejs.dev) plugin for [Pinegrow](https://pinegrow.com) ⚡️
10
+
11
+ Pinegrow Vite Plugin enables connection and interaction between your Vite Dev-Server and Pinegrow apps (currently only Vue Designer).
12
+
13
+ - [📖 &nbsp;Documentation](https://pinegrow.com/vue-designer)
14
+
15
+ ## Features
16
+
17
+ - 🎨&nbsp; Visually live-design your Vite-powered apps (Vue, Nuxt, Iles, Astro, etc)
18
+ - ⚙️&nbsp; Smartly integrates into your Vite workflow in dev-mode only
19
+ - ✨&nbsp; No lock-in, Pinegrow is an open-tool ❤️
20
+
21
+ ## Quick Setup
22
+
23
+ 1. Install: Add `@pinegrow/vite-plugin` to your project
24
+
25
+ ```bash
26
+ # Using npm
27
+ npm install --save-dev @pinegrow/vite-plugin
28
+
29
+ # Using pnpm
30
+ pnpm add --save-dev @pinegrow/vite-plugin
31
+ ```
32
+
33
+ 2. Configure: Add `liveDesigner()` to your Vite Plugins array `vite.config.{ts,js}`
34
+
35
+ ```js
36
+ //vite.config.js (or) vite.config.ts
37
+
38
+ import { defineConfig } from 'vite'
39
+ import vue from '@vitejs/plugin-vue'
40
+ import { liveDesigner } from '@pinegrow/vite-plugin'
41
+
42
+ export default defineConfig({
43
+ plugins: [
44
+ liveDesigner({
45
+ //...
46
+ }),
47
+ vue(),
48
+ //...
49
+ ],
50
+ //...
51
+ })
52
+ ```
53
+
54
+ Now, open your project in your Pinegrow app (currently only Vue Designer). ✨
55
+
56
+ ## License
57
+
58
+ [MIT License](./LICENSE)
59
+
60
+ Copyright (c) Pinegrow
61
+
62
+ <!-- Badges -->
63
+
64
+ [npm-version-src]: https://img.shields.io/npm/v/@pinegrow/vite-plugin/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
65
+ [npm-version-href]: https://npmjs.com/package/@pinegrow/vite-plugin
66
+ [npm-downloads-src]: https://img.shields.io/npm/dm/@pinegrow/vite-plugin.svg?style=flat&colorA=18181B&colorB=28CF8D
67
+ [npm-downloads-href]: https://npmjs.com/package/@pinegrow/vite-plugin
68
+ [license-src]: https://img.shields.io/npm/l/@pinegrow/vite-plugin.svg?style=flat&colorA=18181B&colorB=28CF8D
69
+ [license-href]: https://npmjs.com/package/@pinegrow/vite-plugin
6
70