vite version:>=2.0.0 yarn add vite-plugin-prerender -D or npm i vite-plugin-prerender -D Basic Usage (vite.config.js) importvitePrerenderfrom'vite-plugin-prerender'importpathfrom'path'exportdefault()=>{return{plugins:[vitePrerender({// Required - The path to the vite-outputted app to pre...
Build it: npm run build Serve it: npx serve dist/client Updates To update this package you can follow the normal NPM update procedures. We have used the built-in npm shrinkwrapcommand to provide an npm-shrinkwrap.json rather than the normal package-lock.json which keeps this repo fixed at...
安装使用 npm install vite-plugin-seo-prerender -D#orpnpm install vite-plugin-seo-prerender -D#oryarn install vite-plugin-seo-prerender -D 使用配置 // vite.config.tsimport{defineConfig}from'vite'importseoPrerenderfrom'vite-plugin-seo-prerender'exportdefaultdefineConfig({plugins:[seoPrerender({routes...
npm install vite-plugin-seo-prerender -D#orpnpm install vite-plugin-seo-prerender -D#oryarn install vite-plugin-seo-prerender -D 使用配置 // vite.config.tsimport{defineConfig}from'vite'importseoPrerenderfrom'vite-plugin-seo-prerender'exportdefaultdefineConfig({plugins:[seoPrerender({routes:[]//...
npm install vite-plugin-seo-prerender -D # or pnpm install vite-plugin-seo-prerender -D # or yarn install vite-plugin-seo-prerender -D使用配置// vite.config.ts import { defineConfig } from 'vite' import seoPrerender from 'vite-plugin-seo-prerender' export default defineConf...
npm install vite-plugin-seo-prerender -D # or pnpm install vite-plugin-seo-prerender -D # or yarn install vite-plugin-seo-prerender -D使用配置// vite.config.ts import { defineConfig } from 'vite' import seoPrerender from 'vite-plugin-seo-prerender' export default defineConfig({ ...
"registry": "https://registry.npmjs.org" }, "bugs": { "url": "https://github.com/337547038/vite-plugin-seo-prerender/issues" }, "homepage": "https://github.com/337547038/vite-plugin-seo-prerender", "files": [ "dist" ], "main": "./dist/index.js", "module": "./dist/ind...
npm install vite-plugin-seo-prerender -D # or pnpm install vite-plugin-seo-prerender -D # or yarn install vite-plugin-seo-prerender -D使用配置// vite.config.ts import {defineConfig} from 'vite' import seoPrerender from 'vite-plugin-seo-prerender' export default defineConfig(...
npm install vite-plugin-seo-prerender -D#orpnpm install vite-plugin-seo-prerender -D#oryarn install vite-plugin-seo-prerender -D 使用配置 // vite.config.tsimport{defineConfig}from'vite'importseoPrerenderfrom'vite-plugin-seo-prerender'exportdefaultdefineConfig({plugins:[seoPrerender({routes:[]//...