We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9aaaae commit 07e85e4Copy full SHA for 07e85e4
README.md
@@ -35,3 +35,23 @@ yarn run lint
35
36
### Customize configuration
37
See [Configuration Reference](https://cli.vuejs.org/config/).
38
+
39
+### Prerendering configuration
40
41
+**NOTE:** for prerendering to work correctly, routes for those pages must be added to `vue.config.js`:
42
43
+```js
44
+module.exports = {
45
+ configureWebpack: {
46
+ plugins: [
47
+ new PrerenderSPAPlugin({
48
+ staticDir: path.join(__dirname, 'dist'),
49
+ routes: [
50
+ '/',
51
+ '/about',
52
+ ],
53
+ }),
54
55
+ },
56
+};
57
+```
0 commit comments