unplugin-vue-routeris a unplugin library created by@posva, same auther as vue-router. It provide almost same feature asvite-plugin-pagesbut better intergration with vue-router, include some cool feature like auto generate route types base on your route files to provide autocomplete for vue-rou...
src/pages/[...all].vue->/*(/non-existent-page) The text after the ellipsis will be used both to name the route, and as the name of the prop in which the route parameters are passed. If you need to generate a sitemap from generated routes, you can usevite-plugin-pages-sitemap. Th...
Thanks @antfu i didn't get space error, this is fixed on v1.1.11 jbaubree/vite-plugin-pages-sitemap@e7cd323 Contributor Author jbaubree commented Feb 22, 2022 • edited Another thing i got is that sitemap.xml will be edited when any modification will be done on this template, because...
pages │ │ │ ├── index │ │ │ │ ├── index.js │ │ │ │ ├── index.json │ │ │ │ ├── index.wxml │ │ │ │ └── index.wxss │ │ ├── sitemap.json │ │ └── tools │ │ ├── index.js │ │ ├── request.js │ │ └── upload-...
'vite-plugin-pages' import generateSitemap from 'vite-ssg-sitemap' import Layouts from 'vite-plugin-vue-la youts' import Components from 'unplugin-vue-compo nents/vite' import Markdown from 'vite-plugin-vue-ma rkdown' import VueI18n ...
vite-plugin-angular:add define option for ngServerMode (#1427) (b3a460f) vite-plugin-angular:add NODE_ENV check as fallback for production (#1432) (763c797) 1.9.2-beta.4(2024-11-05) Bug Fixes platform:exclude Nx package from Vite optimizations (#1434) (c27a59e) ...
errorEntry — is a string, or array of strings, that should be the JavaScript entry point(s) (e.g.: src/js/app.js) that should be injected into Twig error templates, to allow hot module replacement to work through Twig error pages. devMode must be true and use...
The pages/routes.js file contains all the route declarations for the application. Here’s how it looks: import {createRouter} from 'vue-router' import Homepage from './home/Home.vue'; import SignIn from './sign-in/SignIn.vue'; import Cart from './cart/Cart.vue'; const routes = [...
"vite-plugin-compression2": "^1.1.2", "vite-plugin-minify": "^1.5.2", "vite-plugin-pages": "^0.32.3", "vite-plugin-pages-sitemap": "^1.7.1", "vite-plugin-pwa": "^0.20.0", "vite-plugin-vue-meta-layouts": "^0.4.3", "vite-plugin-webfont-dl": "^3.9.4", "vitest": ...
There is also another warning or hint that could be added to docs: public assets such as robots.txt, sitemap.xml and even manifest.webmanifest should be added to includeAssets in the vitePWA plugin options. Otherwise service worker will serve 404 page route instead. ...