Commit 82948a93 authored by Derek Nutile's avatar Derek Nutile

Fix: gitlab pages sandboxes the public patch, have to compile assets into it

parent 31577de8
Pipeline #48973164 passed with stage
in 24 seconds
......@@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Derek Nutile</title>
<link rel="stylesheet" href="../dist/css/app.css">
<link rel="stylesheet" href="css/app.css">
</head>
<body>
<div id="vueapp">
......@@ -15,6 +15,6 @@
<p>Source code: <a href="https://gitlab.com/dereknutile/dereknutile.gitlab.io" target="_blank">dereknutile.gitlab.io</a>.</p>
</div>
</div>
<script src="../dist/js/app.js"></script>
<script src="js/app.js"></script>
</body>
</html>
\ No newline at end of file
......@@ -4,7 +4,7 @@ module.exports = {
mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
entry: ['./src/app.js', './src/scss/app.scss'],
output: {
path: path.resolve(__dirname, 'dist'),
path: path.resolve(__dirname, 'public'),
filename: 'js/app.js',
},
module: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment