1.1.0 • Published 9 months ago

@opendialogai/who-pwa v1.1.0

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

vue-project

This template should help get you started developing with Vue 2 in Vite.

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

Customize configuration

See Vite Configuration Reference.

Project Setup

yarn install

Compile and Hot-Reload for Development

yarn run dev

Compile and Minify for Production

yarn run build

Publishing

Once built, the assets in the /dist directory can be published to NPM (https://www.npmjs.com/package/@opendialogai/who-pwa) to be consumed in the OD application.

To publish, run

npm publish

Local Development

NB - please note, this flow does not seem to work through the docker workspace container, please run locally

If developing locally, you can link the project by running

yarn link

in this project and then

yarn link @opendialog/who-pwa

in the who-app project. This will link the 2 projects together - you should be able to see the symlink in the node_modules directory in who-app.

Now there are 2 watchers to run:

  1. From inside this project root, run:
yarn build-watch

This will watch any changes made to components and re-run the vite build process with assets being saved to /dist.

  1. From inside the who-app project root, run
yarn watch-dev

This should watch for any changes in the node_modules directory and copy assets into the public/vendor folder.

** NB - since image paths are different for local vite dev, or production built assets, the build command sets a base of vendor/assets. For this to work as expected, all image urls should be imported eg

:src="require('local/path/to/asset')"

This will then be converted to the correct path when built and published

1.1.0

9 months ago

0.0.40

12 months ago

0.0.41

12 months ago

1.0.0

11 months ago

0.0.42

12 months ago

0.0.43

12 months ago

0.0.44

12 months ago

0.0.45

12 months ago

0.0.46

12 months ago

0.0.47

12 months ago

0.0.37

1 year ago

0.0.38

1 year ago

0.0.39

12 months ago

0.0.35

1 year ago

0.0.36

1 year ago

0.0.34

1 year ago

0.0.30

2 years ago

0.0.31

2 years ago

0.0.32

1 year ago

0.0.33

1 year ago

0.0.29

2 years ago

0.0.23

2 years ago

0.0.24

2 years ago

0.0.25

2 years ago

0.0.26

2 years ago

0.0.27

2 years ago

0.0.28

2 years ago

0.0.20

2 years ago

0.0.21

2 years ago

0.0.10

2 years ago

0.0.22

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.9

2 years ago

0.0.16

2 years ago

0.0.8

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.5

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago