Coder Social home page Coder Social logo

vuejs-pwa-sample's Introduction

vuejs-pwa-sample

Preface

This sample project uses Vue.js, Vue Material and PWA(Progressive Web Apps). This sample uses the Connpass Web API.

Install

Perform the following steps:

  1. Download and install Node.js.
  2. Download and install Visual Studio Code(VS Code).
  3. Install vetur extension for VS Code.
  4. Download and install npm packages.
    npm install

Starting Server

Perform the following steps:

  1. Clone this repository.
  2. Start the development server.
    npm run serve
  3. 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.

  1. Install "Service Worker for Chrome" in Chrome.

  2. Start the "Service Worker for Chrome".

  3. Select dist directory in "choose folder" of "Service Worker for Chrome".

  4. Access the "Web Server URL".

Creating a Production Build

Perform the following command:

npm run build

Views

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.

Components

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

Libraries

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

License

The License of this sample is MIT License.

vuejs-pwa-sample's People

Contributors

ybkuroki avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.