@speckle/ui-components 2.14.8-alpha1 → 2.14.8-alpha2
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 +0 -19
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,25 +13,6 @@ Speckle UI component library built with Vue 3 and relying on the Speckle Tailwin
|
|
|
13
13
|
|
|
14
14
|
It's suggested that you also install the `@speckle/ui-components-nuxt` Nuxt module. It will ensure that all of the Vue components can be auto-imported like components in nuxt's `./components` directory. No need to import them manually anymore and you'll also get proper TS typing in your Vue templates out of the box!
|
|
15
15
|
|
|
16
|
-
Additionally you should add the following to your `build.transpile` array in your nuxt config:
|
|
17
|
-
|
|
18
|
-
```js
|
|
19
|
-
// nuxt.config.js
|
|
20
|
-
export default {
|
|
21
|
-
build: {
|
|
22
|
-
transpile: [
|
|
23
|
-
'@headlessui/vue',
|
|
24
|
-
/^@heroicons\/vue/,
|
|
25
|
-
'@vueuse/core',
|
|
26
|
-
'@vueuse/shared',
|
|
27
|
-
'@speckle/ui-components'
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
This will ensure that some dependencies are transpiled properly so that they work correctly both during SSR & CSR.
|
|
34
|
-
|
|
35
16
|
### Troubleshooting
|
|
36
17
|
|
|
37
18
|
#### Form validation doesn't work
|
package/package.json
CHANGED