Skip to content

frannav/VueSimpleClock

Repository files navigation

A prepared package for new HTML/CSS/JS projects and easy coding using Parcel bundler.

Features

  • Automatic bundler with Parcel [ ParcelJS: https://parceljs.org/ ]
  • NPM Scripts: Tasks for fast development & generation
  • For HTML binding use export func on functions and use global.func().

HTML

CSS

JS

  • Allow write ES201x (ES8/ES7/ES6) Javascript with Babel (JS transpiler to ES5) [ Babel: https://babeljs.io/ ]
  • Review Javascript code for improve quality, tips and avoid errors [ ESLint: https://eslint.org/ ]

Other branches

Typescript (ts branch)

Simple HTML (nopug branch)

  • Allow write pure HTML instead Pug files.

VueJS (ts vue)

  • Allow create websites with VueJS framework, ESLint and others.

Scripts

NPM Command Description
npm run dev Local webserver for development (serve + watch)
npm run watch Watch changes (dev for use with external server: apache, nginx, local server...)
npm run build Automatic production build (for upload). Includes size detailed report (parcel-plugin-bundle-visualiser) *
npm run clean:cache Remove .cache, dist and build folder.
npm run clean:all Reset default repo and remove cache and all npm generated files.
npm run deploy Optional deploy build folder (master branch) to gh-pages branch for GitHub Pages.

* Change --public-url / for your project URL path. For example, on repo user.github.io/repo-name/sample-web/ use --public-url /repo-name/sample-web/.

Requisites

About

Simple clock made with Vue, no styles CSS added.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published