vueless 0.0.45 → 0.0.46

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.
package/README.md CHANGED
@@ -14,16 +14,28 @@
14
14
  npm install vueless @vueless/plugin-vite
15
15
  ```
16
16
 
17
- 2. Create `vueless.config.js` at the root of the project.
18
17
 
19
- ```javascript filename="vueless.config.js" title="vueless.config.js"
18
+ 2. In the file where you create the Vue application, add the following code:
19
+ ```javascript
20
+ import { createApp } from 'vue';
21
+ import { createVueless } from "vueless";
22
+ import App from './App.vue';
23
+
24
+ const vueless = createVueless();
25
+
26
+ createApp(App).use(vueless).mount('#app');
27
+ ```
28
+
29
+ 3. Create `vueless.config.js` at the root of the project.
30
+
31
+ ```javascript
20
32
  export default {
21
33
  color: {},
22
34
  component: {},
23
35
  };
24
36
  ```
25
37
 
26
- 3. Add TailwindCSS preset.
38
+ 4. Add TailwindCSS preset.
27
39
 
28
40
  ```javascript
29
41
  import { vuelessPreset } from "vueless/preset.tailwind";
@@ -34,7 +46,7 @@ export default {
34
46
  };
35
47
  ```
36
48
 
37
- 4. Add Vite plugins.
49
+ 5. Add Vite plugins.
38
50
 
39
51
  ```javascript
40
52
  import { Vueless, VuelessUnpluginComponents } from "@vueless/plugin-vite";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.45",
3
+ "version": "0.0.46",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless Component Framework.",
6
6
  "homepage": "https://vueless.com",
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.45",
4
+ "version": "0.0.46",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",