@arbocollab/arbo-web-people 0.1.84
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/.npmignore +5 -0
- package/README.md +60 -0
- package/cjs/index.cjs.js +250 -0
- package/es/index.es.js +106110 -0
- package/favicon-arbo-16x16.png +0 -0
- package/favicon-arbo-32x32.png +0 -0
- package/favicon-tessr-16x16.png +0 -0
- package/favicon-tessr-32x32.png +0 -0
- package/favicon.ico +0 -0
- package/favicon.svg +1 -0
- package/npmjs.npmrc +3 -0
- package/package.json +39 -0
- package/style.css +1 -0
- package/umd/index.umd.js +250 -0
package/.npmignore
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Vue 3 + Typescript + Vite
|
|
2
|
+
|
|
3
|
+
This template should help get you started developing with Vue 3 and Typescript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
|
4
|
+
|
|
5
|
+
## Recommended IDE Setup
|
|
6
|
+
|
|
7
|
+
- [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)
|
|
8
|
+
|
|
9
|
+
## Type Support For `.vue` Imports in TS
|
|
10
|
+
|
|
11
|
+
Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can enable Volar's `.vue` type support plugin by running `Volar: Switch TS Plugin on/off` from VSCode command palette.
|
|
12
|
+
|
|
13
|
+
## Quick Start
|
|
14
|
+
|
|
15
|
+
Preinstall
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
$ npm i -g pnpm
|
|
19
|
+
$ pnpm -v # should >= 6.20.0
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Install dependencies
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
$ pnpm install
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Project setup
|
|
29
|
+
|
|
30
|
+
### Development Server (Compiling and Hot-Reloading)
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
pnpm dev
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Production Build (Compiling and Minifying)
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
pnpm build
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Previewing the Production Build
|
|
43
|
+
|
|
44
|
+
```
|
|
45
|
+
pnpm preview
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Docker Production Build
|
|
49
|
+
|
|
50
|
+
First, build the image by opening the terminal in the project's root directory.
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
docker buildx build . -t arbo-people:latest
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Run the image and specify port mapping with the `-p` flag.
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
docker run --rm -it -p 8080:80 arbo-people:latest
|
|
60
|
+
```
|