/vue-init

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

Primary LanguageJavaScript

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