diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2025-01-23 11:03:58 +0100 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2025-02-28 12:27:41 +0100 |
| commit | b6487b70aaa199aba6ae999a9c99b340b5e98884 (patch) | |
| tree | 544f9e14be9b2a158dd791545e10f7ad84ef3908 /client/simple/README.rst | |
| parent | e86bfa163bb9d69964efe511057ba496f7e7d587 (diff) | |
[web-client] simple theme: build & development env based on vite.
Vite is a build tool, it consists of two major parts [1]:
- A dev server that provides rich feature enhancements over native ES modules,
for example extremely fast Hot Module Replacement (HMR).
- A build command that bundles your code with Rollup, pre-configured to output
highly optimized static assets for production.
[1] https://vite.dev/guide/
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'client/simple/README.rst')
| -rw-r--r-- | client/simple/README.rst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/client/simple/README.rst b/client/simple/README.rst new file mode 100644 index 000000000..04f6fa469 --- /dev/null +++ b/client/simple/README.rst @@ -0,0 +1,24 @@ +===================== +MEMO vite development +===================== + +Local install:: + + # in folder ./client/simple/ + $ npm install + +Start development server:: + + $ ./manage vite.simple.dev + + # in folder ./client/simple/ + $ npm exec -- vite + +Fix source code:: + + # in folder ./client/simple/ + $ npm run fix + +Fix & Build:: + + $ ./manage vite.simple.build |