Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 920 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 920 Bytes

Veturpack

Project based on vuepack to try Vetur.

Usage

$ yarn
$ yarn dev

Things to Try

  • Do a emmet expansion on the html template.
  • Try _. in Counter.vue to see lodash auto completion.
  • Edit .eslintrc to config linting rules.
  • Remove // @ts-check and add it back to see their difference.
  • Format the document.
  • Change some options in vetur.format.* then format again.
  • Install another library with types, such as jquery.
    • npm i -S jquery && npm i -D @types/jquery.
    • Put import * as $ from 'jquery'.
    • Try some jquery auto completion by typing $..
  • Try some auto completion in scss.

Beyond

This repo only contains minimum setup.

For a more comprehensive setup, refer to https://github.com/chrisvfritz/vue-enterprise-boilerplate.

License

MIT © Pine Wu