Giter Site home page Giter Site logo

incredibleweb / pwa-tutorial Goto Github PK

View Code? Open in Web Editor NEW
197.0 197.0 99.0 537 KB

A demo application that serves as a tutorial for Progressive Web Applications

Home Page: https://incredibleweb.github.io/pwa-tutorial/

License: MIT License

JavaScript 100.00%

pwa-tutorial's People

Contributors

kevinfarrugia avatar rossolson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pwa-tutorial's Issues

Connect to a real-world API

To make the demo more relevant, it would be greatly improved if we could connect our demo application to a real world API provided by an airline or airport.

How do I build/run the demo project?

Hi,
I cloned the project, and tried running it..
node app starts the server,
but it dont find the required JS file. at js/build/vendor.min.js and js/build/script.min.js.

So how to build and run the demo?

After instalation bwSync always starts with this project

Issue details

BwSync always starts initialization in the directory of this pwa-tutirial. When i enter to the folder with my new project and i try to init gulp watch i see on the localhost:3000 - Sky-High Airport. How to change this issue?

Steps to reproduce/test case

It worked as usually well, bwSync started in current dir, where i was making my project, untill i installed grunt for watching this project: https://github.com/IncredibleWeb/pwa-tutorial, after instalation bwSync started initialization with page of this project.

Please specify which version of Browsersync, node and npm you're running

  • Browsersync [ ]
  • Node [ ]
  • Npm [ ]

Affected platforms

  • linux
  • [* ] windows
  • OS X
  • freebsd
  • solaris
  • other (please specify which)

Browsersync use-case

  • API
  • [* ] Gulp
  • Grunt
  • CLI

If CLI, please paste the entire command below

gulp watch

for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync

var config = {
src: './src',
}
gulp.task('bwSync', function(){
brwSync.init({
server: {
baseDir: config.src
}
});
});
gulp.task('watch', ['bwSync'], function(){
gulp.watch(config.src+config.html.src, ['html']);
gulp.watch(config.src+config.sass.src_scss, ['scss']);
gulp.watch(config.src+config.sass.src_sass, ['sass']);
gulp.watch(config.src+config.less.src, ['less']);
gulp.watch(config.src+config.js.src, ['js']);
});

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.