Skip to content

Commit f4df8d5

Browse files
committed
Add test.html for testing the content browser.
1 parent 18c1ff1 commit f4df8d5

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

test.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width" />
6+
<title>Test</title>
7+
<script charset="utf-8" src="/dist/bundle.js"></script>
8+
</head>
9+
<body>
10+
<div class="pat-contentbrowser">hello.</div>
11+
</body>
12+
</html>

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ module.exports = async (env, argv, build_dirname = __dirname) => {
7474
config.output.publicPath = "/dist/";
7575
config.devServer = {
7676
inline: true,
77-
contentBase: "./docs/_site/",
77+
contentBase: ".",
7878
port: "8000",
7979
host: "0.0.0.0",
8080
watchOptions: {

0 commit comments

Comments
 (0)