Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

unplugin-vue-router

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unplugin-vue-router - npm Package Versions

1
7

0.2.1

Diff

Changelog

Source

0.2.1 (2022-08-27)

Bug Fixes

  • simplify import names (7c01822), closes #47
posva
published 0.2.0 •

Changelog

Source

0.2.0 (2022-08-26)

Introducing Experimental Data fetching

Refer to https://github.com/posva/unplugin-vue-router/tree/main/src/data-fetching for up to date information on how to use the data fetching.

Bug Fixes

Features

  • add setupNavigationGuard options (0656e35)
  • explicitly allow for the data fetching guard (5f672b2)
  • importMode option (9aa2e33), closes #47
  • one single auto import (c82e964)
  • parse definePage (b2470a6)
  • support props to route blocks (073c29c), closes #49
posva
published 0.1.2 •

Changelog

Source

0.1.2 (2022-08-10)

Features

posva
published 0.1.1 •

Changelog

Source

0.1.1 (2022-08-09)

Bug Fixes

  • types: declaration of auto module (e5ac67c)
posva
published 0.1.0 •

Changelog

Source

0.1.0 (2022-08-09)

Bug Fixes

  • deep merge meta properties (47bce4f)
  • expose options subpath (#42) (b44c32e)
  • handle nested loaders that were already called (6887fb2)
  • reload the page during dev when no cache entry is available (918bfd0)
  • support older browsers with object.assign (66c7ae0)
  • trigger loaders only once when nested (4a13819)

Code Refactoring

  • rename [@vue-router](https://github.com/vue-router) to vue-router/auto (461530a)

Features

  • add basic data loaders (9c19fd2)
  • add lazy loaders (815f875)
  • add pendingLoad (055bc3c)
  • allow enabling experimental data fetching (1b7e6b3)
  • change default route component folder to src/pages (6d6cb13)
  • implement nested sequential loaders (6d5201f)
  • track hash reads (e5583a4)

BREAKING CHANGES

  • the module name is now vue-router/auto instead of @vue-router. To upgrade to this version you only need to replace it:

    -import { ... } from '@vue-router'
    +import { ... } from 'vue-router/auto'
    
    -import { ... } from '@vue-router/routes'
    +import { ... } from 'vue-router/auto/routes'
    

    This allows stubbing the package in vue-router to hint the user towards this plugin.

  • the default value of routesFolder is changed from src/routes to src/pages. If you didn't change this setting, you will have to either:

    • rename your src/routes folder to src/pages
    • add routesFolder: 'src/routes' to the options of the plugin in your vite, webpack, etc config
posva
published 0.0.21 •

Changelog

Source

0.0.21 (2022-07-12)

Features

posva
published 0.0.20 •

Changelog

Source

0.0.20 (2022-07-07)

Bug Fixes

posva
published 0.0.19 •

Changelog

Source

0.0.19 (2022-07-07)

Bug Fixes

posva
published 0.0.18 •

Changelog

Source

0.0.18 (2022-07-07)

Bug Fixes

Features

  • types: expose some useful route location types (86b1d01)
  • types: typed useLink() (55bf04e)
posva
published 0.0.17 •

Changelog

Source

0.0.17 (2022-07-06)

Features

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc