ccp-ui-kit-lib
v1.0.0
Published
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.
Readme
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
##TODO change after package be compete
You can publish package ccp-ui-kit-lib by following the steps:
- Make changes to the project
- Check actual version on ccp-ui-kit-lib package page
- The version in
package.jsonwill usually be the same as the actual version, but may be different. Set the version inpackage.jsonas 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 is0.6.71) - Create a merge request and successfully pass the review
- Merge your branch into the Master branch
- Using the Master branch, do the following in a terminal:
npm login*- Log in to
npmjs.comusing credentials: usernameactiveplatform-frontend* pnpm publish- Check new version on ccp-ui-kit-lib package page
*- executed when there is no authorization in npmjs.com
