add og:image
This commit is contained in:
@@ -135,6 +135,20 @@ export default {
|
|||||||
// 'process.env': {},
|
// 'process.env': {},
|
||||||
// }),
|
// }),
|
||||||
|
|
||||||
|
// copy static files
|
||||||
|
new CopyWebpackPlugin([
|
||||||
|
{
|
||||||
|
context: `${srcPath}/assets/static`,
|
||||||
|
from: { glob: '**/*', dot: false },
|
||||||
|
to: `${buildPath}/assets`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
context: `${srcPath}/assets/static`,
|
||||||
|
from: { glob: '**/*', dot: false },
|
||||||
|
to: `${buildPath}/assets/[path][name].[hash].[ext]`,
|
||||||
|
},
|
||||||
|
]),
|
||||||
|
|
||||||
// enable hot reloading
|
// enable hot reloading
|
||||||
ifDev(new webpack.HotModuleReplacementPlugin()),
|
ifDev(new webpack.HotModuleReplacementPlugin()),
|
||||||
|
|
||||||
|
|||||||
BIN
examples/assets/static/images/open-graph.png
Normal file
BIN
examples/assets/static/images/open-graph.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
@@ -4,9 +4,10 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||||
<title>tiptap</title>
|
<title>tiptap</title>
|
||||||
<meta name="description" content="A renderless rich-text editor for Vue.js">
|
<meta name="description" content="A renderless & extendable rich-text editor for Vue.js">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
|
<meta property="og:image" content="/assets/images/open-graph.png">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user