{"repo":"NagariaHussain/doppio","free":true,"listed":false,"github":"https://github.com/NagariaHussain/doppio","clone":"git clone https://github.com/NagariaHussain/doppio.git","description":"A Frappe app (CLI) to magically setup single page applications and Vue/React powered desk pages on your custom Frappe apps.","language":"Python","stars":361,"topics":["frappe","frappe-framework","vuejs","tailwindcss","vitejs","python","reactjs","react","spa","vue"],"license":"MIT","category":"cli-tools","readme_excerpt":"Doppio A Frappe App to setup and manage single page applications and custom desk pages (using Vue 3 or React) on your custom Frappe App. Installation In your bench directory: This will install the Doppio frappe app on your bench and enable some custom bench CLI commands that will ease the process of attaching a SPA to your Frappe Application. Setting Up React/Vue SPA To set up a new Single Page Application, you can run the following command in your bench directory: You will be prompted to enter a name for your single page application, this will be the name of the directory and the URI path at which the application will be served. For instance, if you enter dashboard (default), then a folder named dashboard will be created inside your app's root directory and the application will be served at /dashboard . You will then be asked to select the framework you prefer: React or Vue. You can also select whether you want to use Typescript or Javascript. You can optionally pass the --tailwindcss flag which will also setup tailwindCSS (who doesn't like tailwind!) along with the Vue 3/React application. The above command will do the following things: For Vue 3 1. Scaffold a new Vue 3 starter application (using Vite) 2. Add and configure Vue router 3. Link utility and controller files to make the connection with Frappe backend a breeze! 4. Configure Vite's proxy options (which will be helpful in development), check the proxyOptions.js file to see to what ports the Vite dev server proxies ","default_branch":null,"files":null,"tree":[],"storefront":"/r/NagariaHussain","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NagariaHussain/doppio/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}