vatts 2.2.0 → 2.2.1-canary.0.0.1

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.
Files changed (2) hide show
  1. package/dist/vue/App.vue +2 -1
  2. package/package.json +1 -1
package/dist/vue/App.vue CHANGED
@@ -146,7 +146,8 @@ const updateRoute = () => {
146
146
 
147
147
  // --- Computed ---
148
148
  const resolvedContent = computed(() => {
149
- if (!CurrentPageComponent.value || props.initialComponentPath === '__404__') {
149
+ // Agora valida puramente se o componente da rota atual existe no window.location
150
+ if (!CurrentPageComponent.value) {
150
151
  const NotFoundComponent = window.__VATTS_NOT_FOUND__;
151
152
  if (NotFoundComponent) return NotFoundComponent;
152
153
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vatts",
3
- "version": "2.2.0",
3
+ "version": "2.2.1-canary.0.0.1",
4
4
  "description": "Vatts.js is a high-level framework for building web applications with ease and speed. It provides a robust set of tools and features to streamline development and enhance productivity.",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "mfraz",