mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
This commit is contained in:
parent
22d34c755b
commit
e015f72945
7 changed files with 6 additions and 8 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport"
|
<meta name="viewport"
|
||||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover, user-scalable=no">
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover, user-scalable=no">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||||
<link rel="apple-touch-icon" href="../../icon.png">
|
<link rel="apple-touch-icon" href="../../icon.png">
|
||||||
<style id="editorAttr" type="text/css"></style>
|
<style id="editorAttr" type="text/css"></style>
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport"
|
<meta name="viewport"
|
||||||
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover, user-scalable=no">
|
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, viewport-fit=cover, user-scalable=no">
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||||
<link rel="manifest" href="/manifest.webmanifest" crossorigin="use-credentials">
|
<link rel="manifest" href="/manifest.webmanifest" crossorigin="use-credentials">
|
||||||
<link rel="apple-touch-icon" href="../../icon.png">
|
<link rel="apple-touch-icon" href="../../icon.png">
|
||||||
|
|
|
||||||
|
|
@ -111,7 +111,6 @@ const renderPDF = async (id: string) => {
|
||||||
<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">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
||||||
<meta name="mobile-web-app-capable" content="yes"/>
|
<meta name="mobile-web-app-capable" content="yes"/>
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||||
<link rel="stylesheet" type="text/css" id="baseStyle" href="${servePath}/stage/build/export/base.css?v=${Constants.SIYUAN_VERSION}"/>
|
<link rel="stylesheet" type="text/css" id="baseStyle" href="${servePath}/stage/build/export/base.css?v=${Constants.SIYUAN_VERSION}"/>
|
||||||
|
|
@ -663,7 +662,6 @@ const onExport = async (data: IWebSocketData, filePath: string, exportOption: IE
|
||||||
<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">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
||||||
<meta name="mobile-web-app-capable" content="yes"/>
|
<meta name="mobile-web-app-capable" content="yes"/>
|
||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||||
<link rel="stylesheet" type="text/css" id="baseStyle" href="stage/build/export/base.css?v=${Constants.SIYUAN_VERSION}"/>
|
<link rel="stylesheet" type="text/css" id="baseStyle" href="stage/build/export/base.css?v=${Constants.SIYUAN_VERSION}"/>
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ module.exports = (env, argv) => {
|
||||||
return {
|
return {
|
||||||
mode: argv.mode || "development",
|
mode: argv.mode || "development",
|
||||||
watch: argv.mode !== "production",
|
watch: argv.mode !== "production",
|
||||||
devtool: argv.mode !== "production" ? "cheap-source-map" : false,
|
devtool: argv.mode !== "production" ? "eval-source-map" : false,
|
||||||
target: "electron-renderer",
|
target: "electron-renderer",
|
||||||
output: {
|
output: {
|
||||||
publicPath: "auto",
|
publicPath: "auto",
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ module.exports = (env, argv) => {
|
||||||
return {
|
return {
|
||||||
mode: argv.mode || "development",
|
mode: argv.mode || "development",
|
||||||
watch: argv.mode !== "production",
|
watch: argv.mode !== "production",
|
||||||
devtool: argv.mode !== "production" ? "cheap-source-map" : false,
|
devtool: argv.mode !== "production" ? "eval-source-map" : false,
|
||||||
output: {
|
output: {
|
||||||
publicPath: "/stage/build/desktop/",
|
publicPath: "/stage/build/desktop/",
|
||||||
filename: "[name].[chunkhash].js",
|
filename: "[name].[chunkhash].js",
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ module.exports = (env, argv) => {
|
||||||
return {
|
return {
|
||||||
mode: argv.mode || "development",
|
mode: argv.mode || "development",
|
||||||
watch: argv.mode !== "production",
|
watch: argv.mode !== "production",
|
||||||
devtool: argv.mode !== "production" ? "cheap-source-map" : false,
|
devtool: argv.mode !== "production" ? "eval-source-map" : false,
|
||||||
output: {
|
output: {
|
||||||
publicPath: "auto",
|
publicPath: "auto",
|
||||||
filename: "[name].js",
|
filename: "[name].js",
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ module.exports = (env, argv) => {
|
||||||
return {
|
return {
|
||||||
mode: argv.mode || "development",
|
mode: argv.mode || "development",
|
||||||
watch: argv.mode !== "production",
|
watch: argv.mode !== "production",
|
||||||
devtool: argv.mode !== "production" ? "cheap-source-map" : false,
|
devtool: argv.mode !== "production" ? "eval-source-map" : false,
|
||||||
output: {
|
output: {
|
||||||
// 不能使用 auto,否则 ios 导出图片获取不到 css。 https://github.com/siyuan-note/siyuan/issues/8532
|
// 不能使用 auto,否则 ios 导出图片获取不到 css。 https://github.com/siyuan-note/siyuan/issues/8532
|
||||||
publicPath: "/stage/build/mobile/",
|
publicPath: "/stage/build/mobile/",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue