Skip to content

Releases: Xkonti/vue-smart-routes

Release v0.2.0

02 Aug 08:03
ce1384a
Compare
Choose a tag to compare

What's Changed

Allow routeTargets in processRoutes to be an object containing route target instances. This is to simplify usage of the library.

Now you can do this:

const routes = {
  home: new RouteTarget(),
  about: new RouteTarget(),
};

const routingTree: RouteRecordRaw[] = ...;

// Process routes without any further transformations
processRoutes(routingTree, routes);

On the development side of things, moved to Vite for bundling, added linting with ESLint and testing with Vitest.

Full Changelog: 0.0.1...0.2.0

Download

Package available at: https://www.npmjs.com/package/vue-smart-routes/v/0.2.0

v0.1.0

18 Mar 19:57
ad67749
Compare
Choose a tag to compare