diff --git a/index.html b/index.html index 5927a28..509b7fe 100644 --- a/index.html +++ b/index.html @@ -3,11 +3,11 @@ - + Riot Template - + diff --git a/public/main.css b/src/css/main.css similarity index 100% rename from public/main.css rename to src/css/main.css diff --git a/index.js b/src/index.js similarity index 100% rename from index.js rename to src/index.js diff --git a/pages/hello-riot/hello-riot.riot b/src/pages/hello-riot/hello-riot.riot similarity index 100% rename from pages/hello-riot/hello-riot.riot rename to src/pages/hello-riot/hello-riot.riot diff --git a/pages/hello-riot/hello-riot.spec.js b/src/pages/hello-riot/hello-riot.spec.js similarity index 100% rename from pages/hello-riot/hello-riot.spec.js rename to src/pages/hello-riot/hello-riot.spec.js diff --git a/pages/registery.js b/src/pages/registery.js similarity index 100% rename from pages/registery.js rename to src/pages/registery.js diff --git a/public/assets/images/square.svg b/src/public/assets/images/square.svg similarity index 100% rename from public/assets/images/square.svg rename to src/public/assets/images/square.svg diff --git a/public/favicon.ico b/src/public/favicon.ico similarity index 100% rename from public/favicon.ico rename to src/public/favicon.ico diff --git a/vite.config.js b/vite.config.js index 3ec70c0..858f2e4 100644 --- a/vite.config.js +++ b/vite.config.js @@ -2,5 +2,6 @@ import { defineConfig } from "vite"; import riot from 'rollup-plugin-riot'; export default defineConfig({ - plugins: [{...riot(), enforce: 'pre'}] + plugins: [{...riot(), enforce: 'pre'}], + publicDir: 'src/public' });