diff --git a/README.md b/README.md index 38b04df..b6b59bc 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,9 @@ Use [Vite](https://vitejs.dev/) Starter Template to scaffold a new [Riot](https: Minimal SPA setup using -- Riot 9.x -- Route 9.x +- Node 22+ +- Riot 10.x +- Route 10.x - Vite 7.x ## Getting Started @@ -40,11 +41,12 @@ app/ <-- your app code css/ <-- processed css files js/ <-- processed javascript files public/ <-- unprocessed static `/` assets - components/ <-- riots components - app.riot - pages/ <-- semantic page/components - riot-welcome.riot - riot-about.riot + views/ + components/ <-- riots components + app.riot + pages/ <-- semantic page/components + riot-welcome.riot + riot-about.riot boot.js <-- app bootstrap index.html <-- START HERE vite.config.js <-- build configuration diff --git a/app/boot.js b/app/boot.js index 03c49eb..43466f5 100644 --- a/app/boot.js +++ b/app/boot.js @@ -1,6 +1,6 @@ import * as riot from "riot"; import {Route, Router} from "@riotjs/route"; -import app from "./components/app.riot"; +import app from "./views/pages/app.riot"; const boot = { // start-up actions here @@ -17,9 +17,9 @@ const boot = { riot.install((component) => { // add your own features here component.version = { - riot: "9.x.x", - vite: "7.x.x", - app: "4.1.0" + riot: "10.x", + vite: "7.x.", + app: "5.0.0" }; }); }, diff --git a/app/views/components/.gitkeep b/app/views/components/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/app/components/app.riot b/app/views/pages/app.riot similarity index 84% rename from app/components/app.riot rename to app/views/pages/app.riot index c689cf0..eb5ce1b 100644 --- a/app/components/app.riot +++ b/app/views/pages/app.riot @@ -13,8 +13,8 @@