project structure refactor

This commit is contained in:
Geoff Doty 2022-07-28 18:38:49 -04:00
parent 74ba9d1c26
commit 1e61d09237
9 changed files with 4 additions and 3 deletions

View File

@ -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>

View File

Before

Width:  |  Height:  |  Size: 949 B

After

Width:  |  Height:  |  Size: 949 B

View File

Before

Width:  |  Height:  |  Size: 175 KiB

After

Width:  |  Height:  |  Size: 175 KiB

View File

@ -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'
}); });