ccp-ui-kit-billogic v0.7.95
Vue 3 + TypeScript + Vite
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 to learn more.
Recommended IDE Setup
- VS Code + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
Type Support For .vue Imports in TS
TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensionsfrom VSCode's command palette - Find
TypeScript and JavaScript Language Features, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Windowfrom the command palette.
Publishing a project to the npmjs.com service
You can publish package ccp-ui-kit by following the steps:
1. Make changes to the project
2. Check actual version on ccp-ui-kit package page
3. The version in package.json will usually be the same as the actual version, but may be different. Set the version in package.json as actual + 0.0.1
(For example "version": "0.6.70" => "version": "0.6.71" or "version": "0.6.70" => "version": "0.6.72" if actual is 0.6.71)
4. Create a merge request and successfully pass the review
5. Merge your branch into the Master branch
6. Using the Master branch, do the following in a terminal:
1. npm login
2. Log in to npmjs.com using credentials: username activeplatform-frontend
3. pnpm publish
4. Check new version on ccp-ui-kit package page
*- executed when there is no authorization in npmjs.com
1 year ago