Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.56 KB

README.md

File metadata and controls

40 lines (23 loc) · 1.56 KB

bbs-demo

I'm using Vue 3 in Vite.

Now installing my BBS signature library from NPM, i.e., npm install --save @grottonetworking/bbs-signatures.

Prior to this I was using this approach installing local module with npm to link in my BBS signature library, in particular use the command:

npm link ../BBSLibrary

After not working on this for a while I used npm unlink @grottonetworking/bbs-signatures then npm link @grottonetworking/bbs-signatures to get things to update. I also ran npm link in the main directory of the BBS library project.

Note that it was important to add the line "exports": "./lib/BBS.js" to the package.json file of the BBS library that I'm developing. This allowed Vite to find it. See articleand they reference node.js: package entry points.

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build