No need to use /assets/
This commit is contained in:
parent
3b9fb3ea19
commit
fd0bea1d84
@ -2,9 +2,9 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="/assets/app.css">
|
||||
<link rel="stylesheet" href="/app.css">
|
||||
</head>
|
||||
<body>
|
||||
<script src="/assets/app.bundle.js"></script>
|
||||
<script src="/app.bundle.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -11,7 +11,7 @@ module.exports = {
|
||||
output: {
|
||||
path: path.resolve(__dirname, './dist'),
|
||||
filename: '[name].bundle.js',
|
||||
publicPath: '/assets'
|
||||
publicPath: '/'
|
||||
},
|
||||
devServer: {
|
||||
contentBase: path.resolve(__dirname, './src'),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user