srcdev-nuxt-forms 0.0.16 → 0.0.17

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/nuxt.config.ts CHANGED
@@ -8,7 +8,7 @@ export default defineNuxtConfig({
8
8
  components: [
9
9
  {
10
10
  path: '~/components',
11
- pathPrefix: false,
11
+ pathPrefix: true,
12
12
  },
13
13
  ],
14
14
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "srcdev-nuxt-forms",
3
3
  "type": "module",
4
- "version": "0.0.16",
4
+ "version": "0.0.17",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "reinstall": "rm -rf node_modules && npm install",
package/pages/index.vue CHANGED
@@ -9,13 +9,12 @@
9
9
  <template #default>
10
10
  <form>
11
11
  <p>Form content</p>
12
- <FormsUiField width="wide" :has-gutter="true">
12
+ <FormsUiFormField width="wide" :has-gutter="true">
13
13
  <template #default>
14
14
  <p>Input text</p>
15
15
  <FormsInputTextCore />
16
- <InputTextCore />
17
16
  </template>
18
- </FormsUiField>
17
+ </FormsUiFormField>
19
18
  </form>
20
19
  </template>
21
20
  </FormsUiFormWrapper>
@@ -1,22 +0,0 @@
1
- <template>
2
- <div>
3
- <input type="text" class="input-text" v-model="formValue" />
4
- </div>
5
- </template>
6
- <script setup lang="ts">
7
- console.log('InputText component loaded')
8
-
9
- const formValue = ref('')
10
-
11
- watchEffect(() => {
12
- console.log('Form value changed to: ', formValue.value)
13
- })
14
- </script>
15
-
16
- <style lang="css">
17
- .input-text {
18
- border: var(--input-border-width-thin) solid var(--input-border);
19
- border-radius: var(--input-border-radius);
20
- padding: 10px;
21
- }
22
- </style>