andyault / vue-init

A starting point for vue apps with routing, webpack, gulp, babel, etc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue-init

A starting point for vue apps with routing, webpack, gulp, babel, etc.

What is this?

This is my solution to the problem that is modern web stacks. This should serve as a starting point for most websites I'll need.

Features:

  • Pre-configured gulp tasks:
    • Hot reload node on changes in app/*
    • Automatically babel and webpack on changes in public/assets/js/src/*
  • Webpack support for vue-loader
    • Means single-file vue components for organized front-end routing

How to use:

git clone <this repo> <dir>  # download this repo
cd <dir>                     # enter new directory
vim package.json             # change name/desc/etc.
yarn upgrade                 # upgrade and install dependencies
yarn start                   # that's it!

Todo:

  • SASS/SCSS support if needed
    • not needed - just yarn add scss-loader and add lang="scss" to your component :)
  • Mongoose boilerplate?
    • mongo sux, sql all day

About

A starting point for vue apps with routing, webpack, gulp, babel, etc


Languages

Language:JavaScript 69.6%Language:HTML 16.6%Language:Vue 13.8%