quasar-ui-danx 0.2.25 → 0.2.27
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 +7 -2
- package/danx-local.sh +14 -0
- package/dist/danx.es.js +5298 -5239
- package/dist/danx.es.js.map +1 -1
- package/dist/danx.umd.js +5 -5
- package/dist/danx.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/ActionTable/Form/Fields/NumberField.vue +1 -1
package/README.md
CHANGED
@@ -81,9 +81,14 @@ export default ({ command }) => {
|
|
81
81
|
* Settings -> Directories -> Add
|
82
82
|
* Create a new directory w/ name node_modules and set the directory to the node_modules directory in your project
|
83
83
|
* Symlink Danx UI library
|
84
|
+
* FOR LOCAL DEVELOPMENT ONLY: if you plan on updating Danx UI
|
85
|
+
* Symlinking the danx UI library allows for better integration w/ PHPStorm + tailwindcss + HMR w/ vite.
|
86
|
+
* NOTE: Setting this up w/ `npm link` or trying to modify tsconfig.json / vite.config.ts only can be quite
|
87
|
+
challenging to get everything configured correctly. I found this to be the best solution.
|
84
88
|
* copy/paste and run `./danx-local.sh`
|
85
|
-
* (
|
86
|
-
|
89
|
+
* (recommended) if using docker, add this to your entrypoint script
|
90
|
+
* (or manually symlink node_modules/quasar-ui-danx to ../../quasar-ui-danx/ui/src)
|
91
|
+
* Directory structure of your project relative to quasar-ui-danx:
|
87
92
|
|
88
93
|
```
|
89
94
|
- parent-directory
|
package/danx-local.sh
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
set +x
|
4
|
+
|
5
|
+
# Resolve path to quasar-ui-danx (can be up 1 or 2 directories)
|
6
|
+
DANX_PATH="$(realpath $(find ../.. -maxdepth 2 -type d -name "quasar-ui-danx" | head -n 1))/ui/src"
|
7
|
+
MODULE_PATH="$(pwd)/node_modules/quasar-ui-danx"
|
8
|
+
|
9
|
+
# symlink ../quasar-ui-danx to node_modules/quasar-ui-danx if the directory exists
|
10
|
+
if [ -d "$DANX_PATH" ]; then
|
11
|
+
rm -rf node_modules/quasar-ui-danx
|
12
|
+
ln -s "$DANX_PATH" "$MODULE_PATH"
|
13
|
+
printf "Symlinked $DANX_PATH --> $MODULE_PATH\n"
|
14
|
+
fi
|