0.1.0 • Published 9 months ago

rspack-plugin-vue-router v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

rspack-plugin-vue-router

NPM version

File-system vue routing for rspack by unplugin-vue-router.

unplugin-vue-router may have some issues to work with rspack, this caused by the unplugin rspack virtual module bug: here

This issue shoud be fixed in the next version of unplugin, and before that, this pkg provide a solution for using unplugin-vue-router in your application.

Installation

pnpm add rspack-plugin-vue-router -D

Usage

// rspack.config.ts
import RspackVueRouterPlugin from 'rspack-plugin-vue-router'

export default {
  plugins: [
    new RspackVueRouterPlugin({
      routesFolder: './app/pages',
    }),
  ],
}

Options

options.routesFolder

  • Type: string
  • Default: ./src/pages

License

MIT License © 2024-PRESENT Tamago

0.1.0

9 months ago

0.0.1-alpha.4

9 months ago

0.0.1-alpha.3

9 months ago

0.0.1-alpha.2

9 months ago

0.0.1-alpha.1

9 months ago