Skip to content

Commit

Permalink
Add test.html for testing the content browser.
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed May 23, 2021
1 parent 18c1ff1 commit f4df8d5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<title>Test</title>
<script charset="utf-8" src="/dist/bundle.js"></script>
</head>
<body>
<div class="pat-contentbrowser">hello.</div>
</body>
</html>
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ module.exports = async (env, argv, build_dirname = __dirname) => {
config.output.publicPath = "/dist/";
config.devServer = {
inline: true,
contentBase: "./docs/_site/",
contentBase: ".",
port: "8000",
host: "0.0.0.0",
watchOptions: {
Expand Down

0 comments on commit f4df8d5

Please sign in to comment.