FountainJS / generator-fountain-vue

Yeoman 'fountain' generator to start a webapp with Vue http://fountainjs.io
MIT License
103 stars 12 forks source link
fountain vue vuejs2 yeoman yeoman-generator

:warning: Unmaintained

This project has been archived and is considered outdated and unmaintained.

With the massive rise of the CLI tools by each major JavaScript Web frameworks, it was become irrelevant to pursue the quest of being a competitive project scaffolder for modern Web project.

We officialy advise to use the coresponding CLI tools for the framework you use:

Of course, we have some regrets regarding our users, Yeoman users and some goals we had with Fountain (like giving important tool choices to users, harmonizing projects configurations between frameworks...) but still, you can use official CLI tools with confidence as they are great project which went further for development experience and Web optimization.

FountainJS

Build Status codecov

Fountain Vue.js 2 Generator

Vue 2

This Yeoman generator allows you to start an Vue.js web app with the best Developer Experience out of the box!

No matter what framework or module management you want to use, we got you covered with a cutting edge working configuration.

We use Gulp 4 as a task manager but we'll ask you questions about:

  • Modules management: Webpack
  • JS preprocessor: Babel
  • CSS preprocessor: Sass, Stylus, Less, none

This generator is a sub-generator of the the Yeoman Fountain generator for webapps generator-fountain-webapp.

Generator Fountain Vue 2 structure

To take profit of the best of the Yeoman infrastructure, we heavily relies on the composability natures of the generators.

Thereby, each needs of your future application will be addressed by a dedicated Yeoman generator (each will be used depending of the options you selected or not).

More informations in DESIGN.md.

Web tooling layer

Gulp ESLint BrowserSync Karma

Module management layer

Webpack SystemJS Bower

Usage

Requirement Node 6+ && NPM 3+

This generator is targeted to be used with Node >= 6.0.0 and NPM => 3.0.0. You can check your version number with the command

node --version && npm --version

Install

Install required tools yo:
npm install -g yo
Install generator-fountain-vue:
npm install -g generator-fountain-vue

Run

Create a new directory, and go into:
mkdir my-new-project && cd my-new-project
Run yo fountain-vue, and select desired technologies:
yo fountain-vue

Use NPM scripts

Or Gulp tasks

If you have gulp-cli installed in global packages you can use equivalent:

If you don't have gulp-cli installed in global, you should have this error:

/usr/local/lib/node_modules/gulp/bin/gulp.js:121 gulpInst.start.apply(gulpInst, toRun); TypeError: Cannot read property 'apply' of undefined

Sub-generators

Few sub-generators are available. You can see the full list by running yo --generators.
Each generator has 2 options:

Example:

yo fountain-vue:component --name myComponent --dir components/game

Start development

Changelog

Contributing