This is a Single Page Application written in JavaScript ES6, using a simple router and the MVC pattern, and styled with Bootstrap CSS.
- index.js which acts as the
Controller
- model.js which contains the
Model
- view.js which holds the
View
For example, the component Home
has these files located in the /src/components/home/
folder.
You can view a demo of the application at Demo
- Clone the repository with the command
git clone https://github.com/meugenom/spa-mvc-router.git
- Change to the directory with
cd spa-mvc-router
. - Build the pages with
npm run build
. - To use the application in dev mode, run
npm run start
in the terminal.
The author of this application is meugenom and their website is https://meugenom.com. This application is licensed under the MIT license.