cec-nuxt-lib 0.0.2 → 0.0.4

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/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "cec-vue-lib",
3
3
  "configKey": "cec-vue-lib",
4
- "version": "0.0.2"
4
+ "version": "0.0.4"
5
5
  }
@@ -22,7 +22,7 @@ const toTitleCase = (str) => {
22
22
  .join(' ');
23
23
  };
24
24
 
25
- let hrefs = truePath.replace(/-/g, '_').split('/');
25
+ let hrefs = truePath.split('/');
26
26
  const links = hrefs.map((e, i) =>
27
27
  !e
28
28
  ? 'Home'
@@ -46,7 +46,7 @@ const links = hrefs.map((e, i) =>
46
46
  <NuxtLink v-else-if="i >= length" :to="makeLink(i)">
47
47
  {{ l }}</NuxtLink
48
48
  >
49
- <a v-else-if="!i" href="/home-page">{{ l }}</a>
49
+ <a v-else-if="!i" href="/">{{ l }}</a>
50
50
  <a v-else :href="'/' + hrefs.slice(1, i + 1).join('/')">
51
51
  {{ l }}</a
52
52
  >
@@ -139,7 +139,7 @@ onMounted(() => {
139
139
  <a
140
140
  class="navbar-brand border border-0 border-secondary"
141
141
  title="Home"
142
- href="/home.aspx"
142
+ href="/"
143
143
  >
144
144
  <img
145
145
  title="Home page"
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.2",
2
+ "version": "0.0.4",
3
3
  "name": "cec-nuxt-lib",
4
4
  "description": "Nuxt components and assets",
5
5
  "license": "MIT",