From a86033e53a2bbf5c5d088fadd5f5a89ccd22c1cf Mon Sep 17 00:00:00 2001 From: Evgeny Date: Mon, 12 Aug 2024 23:32:30 -0400 Subject: [PATCH] add missing files --- README.md | 4 +--- docs/docs/pages/browse-code.md | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 docs/docs/pages/browse-code.md diff --git a/README.md b/README.md index b46073d..812d72b 100644 --- a/README.md +++ b/README.md @@ -21,12 +21,10 @@ ## What is ivue? -## **ivue** is -
+**ivue** is – –  Simple like Options API
–  Flexible like Composition API
–  Extensible like TypeScript Classes API
-
**ivue** is a powerful tool because it fully aligns itself with JavaScript / TypeScript Class API. diff --git a/docs/docs/pages/browse-code.md b/docs/docs/pages/browse-code.md new file mode 100644 index 0000000..ecde8cc --- /dev/null +++ b/docs/docs/pages/browse-code.md @@ -0,0 +1,18 @@ +--- +aside: false +--- +# Source code +Or [Browse the source code on GitHub](https://github.com/infinite-system/ivue/blob/main/src/index.ts) + +## Install by Copying + +`ivue` is designed to be easily shareable and installable so if you are running TypeScript, you can just copy the +`ivue.ts` into your repo and you are done: + +::: tip NOTE +This installation path is recommended only if you quickly want to tinker with the internals of ivue, as you won't be getting the latest updates. Also note that this code comes from github `main` branch latest which might also be in beta and not fully published to `npm`. +::: + +:::code-group +<<< ../../../src/index.ts{ts:line-numbers} [ivue.ts] +::: \ No newline at end of file