project structure refactor
This commit is contained in:
parent
74ba9d1c26
commit
1e61d09237
|
@ -3,11 +3,11 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<link rel="stylesheet" href="main.css">
|
<link rel="stylesheet" href="/src/css/main.css">
|
||||||
<title>Riot Template</title>
|
<title>Riot Template</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<hello-riot version="v6.1.2"></hello-riot>
|
<hello-riot version="v6.1.2"></hello-riot>
|
||||||
<script type="module" src="./index.js"></script>
|
<script type="module" src="/src/index.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Before Width: | Height: | Size: 949 B After Width: | Height: | Size: 949 B |
Before Width: | Height: | Size: 175 KiB After Width: | Height: | Size: 175 KiB |
|
@ -2,5 +2,6 @@ import { defineConfig } from "vite";
|
||||||
import riot from 'rollup-plugin-riot';
|
import riot from 'rollup-plugin-riot';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [{...riot(), enforce: 'pre'}]
|
plugins: [{...riot(), enforce: 'pre'}],
|
||||||
|
publicDir: 'src/public'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue