quasar-ui-danx 0.4.28 → 0.4.29

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -14,20 +14,20 @@
14
14
  ```vue
15
15
 
16
16
  <template>
17
- <ActionTable
18
- label="Danx"
19
- name="danx"
20
- v-model:quasar-pagination="quasarPagination"
21
- v-model:selected-rows="selectedRows"
22
- :columns="columns"
23
- />
17
+ <ActionTable
18
+ label="Danx"
19
+ name="danx"
20
+ v-model:quasar-pagination="quasarPagination"
21
+ v-model:selected-rows="selectedRows"
22
+ :columns="columns"
23
+ />
24
24
  </template>
25
25
  <script setup>
26
- import 'quasar-ui-danx/dist/index.css';
27
- import { ActionTable, useTableColumns, useListControls } from 'quasar-ui-danx';
26
+ import 'quasar-ui-danx/dist/index.css';
27
+ import { ActionTable, useTableColumns, useControls } from 'quasar-ui-danx';
28
28
 
29
- const { columns } = useTableColumns([{ name: 'name', label: 'Name' }, { name: 'age', label: 'Age' }]);
30
- const { quasarPagination, selectedRows } = useListControls({});
29
+ const { columns } = useTableColumns([{ name: 'name', label: 'Name' }, { name: 'age', label: 'Age' }]);
30
+ const { quasarPagination, selectedRows } = useControls({});
31
31
  </script>
32
32
  ```
33
33
 
@@ -57,23 +57,23 @@ yarn add -D sass vite-svg-loader tailwindcss eslint eslint-plugin-import autopre
57
57
 
58
58
  ```ts
59
59
  export default ({ command }) => {
60
- // For development w/ HMR, load the danx library + styles directly from the directory
61
- // NOTE: These are the paths relative to the mounted quasar-ui-danx directory inside the mva docker container
62
- const danx = (command === "serve" ? {
63
- "quasar-ui-danx": resolve(__dirname, "../quasar-ui-danx/ui/src"),
64
- "quasar-ui-danx-styles": resolve(__dirname, "../quasar-ui-danx/src/styles/index.scss")
65
- } : {
66
- // Import from quasar-ui-danx module for production
67
- "quasar-ui-danx-styles": "quasar-ui-danx/dist/style.css"
68
- });
69
-
70
- return defineConfig({
71
- resolve: {
72
- alias: {
73
- ...danx
74
- }
75
- },
76
- });
60
+ // For development w/ HMR, load the danx library + styles directly from the directory
61
+ // NOTE: These are the paths relative to the mounted quasar-ui-danx directory inside the mva docker container
62
+ const danx = (command === "serve" ? {
63
+ "quasar-ui-danx": resolve(__dirname, "../quasar-ui-danx/ui/src"),
64
+ "quasar-ui-danx-styles": resolve(__dirname, "../quasar-ui-danx/src/styles/index.scss")
65
+ } : {
66
+ // Import from quasar-ui-danx module for production
67
+ "quasar-ui-danx-styles": "quasar-ui-danx/dist/style.css"
68
+ });
69
+
70
+ return defineConfig({
71
+ resolve: {
72
+ alias: {
73
+ ...danx
74
+ }
75
+ },
76
+ });
77
77
  }
78
78
  ```
79
79
 
@@ -123,13 +123,13 @@ npx tailwindcss init -p
123
123
  export const colors = {}
124
124
 
125
125
  export default {
126
- content: [],
127
- theme: {
128
- extend: {
129
- colors
130
- }
131
- },
132
- plugins: []
126
+ content: [],
127
+ theme: {
128
+ extend: {
129
+ colors
130
+ }
131
+ },
132
+ plugins: []
133
133
  }
134
134
  ```
135
135