@rocketui/vue 0.0.2 → 0.0.5

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.
Files changed (2) hide show
  1. package/README.md +65 -7
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -1,6 +1,40 @@
1
1
  # Rocket UI Vue
2
2
 
3
- ## Recommended IDE Setup
3
+ ## Installation
4
+
5
+ ```sh
6
+ yarn add @rocket-ui/vue
7
+ ```
8
+
9
+ ## Usage
10
+
11
+ Your `main.js` file should look like this:
12
+
13
+ ```js
14
+ import { createApp } from 'vue'
15
+ import App from './App.vue'
16
+
17
+ // Import the Styles
18
+ import '@rocket-ui/vue/dist/style.css'
19
+
20
+ createApp(App).mount('#app')
21
+ ```
22
+
23
+ Then you can use the components in your `App.vue` file:
24
+
25
+ ```vue
26
+ <script setup>
27
+ import { Button } from '@rocket-ui/vue'
28
+ </script>
29
+
30
+ <template>
31
+ <Button>Rocket UI Button</Button>
32
+ </template>
33
+ ```
34
+
35
+ ## Development
36
+
37
+ ### Recommended IDE Setup
4
38
 
5
39
  [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
6
40
 
@@ -15,36 +49,60 @@ If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has a
15
49
  2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
16
50
  2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
17
51
 
18
- ## Customize configuration
52
+ ### Customize configuration
19
53
 
20
54
  See [Vite Configuration Reference](https://vitejs.dev/config/).
21
55
 
22
- ## Project Setup
56
+ ### Project Setup
23
57
 
24
58
  ```sh
25
59
  yarn install
26
60
  ```
27
61
 
28
- ### Compile and Hot-Reload for Development
62
+ #### Compile and Hot-Reload for Development
29
63
 
30
64
  ```sh
31
65
  yarn dev
32
66
  ```
33
67
 
34
- ### Type-Check, Compile and Minify for Production
68
+ #### Type-Check, Compile and Minify for Production
35
69
 
36
70
  ```sh
37
71
  yarn build
38
72
  ```
39
73
 
40
- ### Run Unit Tests with [Vitest](https://vitest.dev/)
74
+ #### Run Unit Tests with [Vitest](https://vitest.dev/)
41
75
 
42
76
  ```sh
43
77
  yarn test:unit
44
78
  ```
45
79
 
46
- ### Lint with [ESLint](https://eslint.org/)
80
+ #### Lint with [ESLint](https://eslint.org/)
47
81
 
48
82
  ```sh
49
83
  yarn lint
50
84
  ```
85
+
86
+ ## Contribution
87
+
88
+ Contribution
89
+ We welcome contributions of any kind including documentation, bug reports, bug fixes, feature requests, feature implementations, and pull requests. If you're interested in contributing to this project, please follow these guidelines:
90
+
91
+ - Fork this repository to your own GitHub account and then clone it to your local device.
92
+ - Install the dependencies by running `yarn install`.
93
+ - Run `yarn dev` to start the dev server and see your changes in real-time as you edit the source files.
94
+ - Create a new branch for your changes, e.g. `git checkout -b my-feature`.
95
+ - Make your changes and commit them with a descriptive message.
96
+ - Push your changes to your forked repository, e.g. `git push -u origin my-feature`.
97
+ - Create a pull request from your forked repository to this repository, and describe the changes you've made and why they should be merged.
98
+ - Before submitting a pull request, please make sure that your changes pass the following checks:
99
+
100
+ The unit tests pass by running `yarn test:unit`.
101
+ The code passes the ESLint check by running `yarn lint`.
102
+ The code builds without errors by running `yarn build`.
103
+
104
+ We aim to respond to all pull requests and issues within 48 hours. Thank you for your interest in contributing to Rocket UI Vue!
105
+
106
+ ## License
107
+
108
+ MIT. See [LICENSE](./LICENSE) for more details.
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@rocketui/vue",
3
- "version": "0.0.2",
3
+ "version": "0.0.5",
4
+ "description": "A set of customizable UI components for Vue 3, built with TypeScript",
4
5
  "type": "module",
5
6
  "main": "dist/rocket-ui-vue.umd.cjs",
6
7
  "module": "dist/rocket-ui-vue.js",