From 15d08b5347165f3dcec16d5397cad453b46ac806 Mon Sep 17 00:00:00 2001 From: Rob Thorne Date: Fri, 15 Jul 2022 15:39:15 -0700 Subject: [PATCH] README explains platform support --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1b20acd..b44e5b1 100644 --- a/README.md +++ b/README.md @@ -213,6 +213,7 @@ As mentioned above, a ViteConfig object must be passed to the `NewVueGlue()` rou | **Environment** | What mode you want vite to run in. | development | | **FS** | A fs.Embed or fs.DirFS | none; required. | | **AssetPath** | *Development:* location of your Javascript files
*Production:* location of your built Javascript project | *Development:* frontend
*Production:* dist| +| **Platform** | Any platform supported by Vite. vue and react are known to work; other platforms *may* work if you adjust the other configurations correctly. | vue | | **EntryPoint** | Entry point script for your Javascript | src/main.js | | **ViteVersion** | Vite major version ("2" or "3") | Best guess based on your package.json file in your project. If you want to make sure, specify the version you want. | | **DevServerPort** | Port the dev server will listen on; typically 3000 in version 2, 5173 in version 3 | Best guess based on version |