This sample project uses Vue.js, Vue Material and PWA(Progressive Web Apps). This sample uses the Connpass Web API.
Perform the following steps:
- Download and install Node.js.
- Download and install Visual Studio Code(VS Code).
- Install vetur extension for VS Code.
- Download and install npm packages.
npm install
Perform the following steps:
- Clone this repository.
- Start the development server.
npm run serve
- Access the following URL in Chrome.
http://localhost:8080/home
By configuration, you cann't run Service Worker in the development environment. So, I recommend using "Service Worker for Chrome" to run Service Worker.
-
Install "Service Worker for Chrome" in Chrome.
-
Start the "Service Worker for Chrome".
-
Select
dist
directory in "choose folder" of "Service Worker for Chrome". -
Access the "Web Server URL".
Perform the following command:
npm run build
There are the following views in this sample.
View Name | File Name | Description |
---|---|---|
Home View | Home.vue |
Search for events via the Connpass Web API. |
About View | About.vue |
About this sample. |
There are the following components in this sample.
Component Name | File Name | Description |
---|---|---|
Header | Header.vue |
Define the header of this web app. |
Card | Card.vue |
Define a card to display content |
This sample uses the following library.
Library Name | Version | Description |
---|---|---|
Vue.js | 2.6.10 |
Javascript Framework |
Vue Router | 3.0.3 |
Routing library for Vue.js |
Vue Material | 1.0.0-beta-10.2 |
Material Design for Vue.js |
The License of this sample is MIT License.