generator-vue-ts-starter

0.2.0 • Public • Published

generator-vue-ts-starter 中文

NPM version Build Status Dependency Status Coverage percentage

😘 Starter for vue and typescript.

Integration tools

  • Vue2
  • Vuex
  • Vue-Router
  • TypeScript
  • Sass
  • Webpack3
  • Karma
  • Mocha
  • Tslint

⚠ For syntax, please refer to vue-class-component and vue-property-decorator

Installation

First, install Yeoman and generator-vue-ts-starter using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-vue-ts-starter

Then generate your new project:

yo vue-ts-starter

And, you can generate compoennt or page by:

yo vue-ts-starter:component
yo vue-ts-starter:page

Failed to build main.scss:

ERROR in ./node_modules/css-loader!./node_modules/sass-loader/lib/loader.js!./src/sass/main.scss
Module build failed: Error: ENOENT: no such file or directory, scandir '/Users/masonz/Project/my-project/node_modules/node-sass/vendor'

You can try npm rebuild node-sass and run again.

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

MIT © masonz

Package Sidebar

Install

npm i generator-vue-ts-starter

Weekly Downloads

2

Version

0.2.0

License

MIT

Last publish

Collaborators

  • masonz