Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

vue2.x typescript template

License

NotificationsYou must be signed in to change notification settings

MMF-FE/vue-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue2.x that use typescript.

Documentation

  • vue-typescript common questions specific to this template are answered and each part is described in greater detail
  • svgicon: A tool to create svg icon components. (vue 2.x)
  • For Vue 2.0: general information about how to work with Vue, not specific to this template

Usage

This is a project template forvue-cli.It is recommended to use npm 3+ for a more efficient dependency tree.

$ npm install -g vue-cli$ vue init MMF-FE/vue-typescript my-project$cd my-project$ npm install$ npm run dll$ npm run svg$ npm run dev

What's Included

  • svgicon
  • vuex
  • npm run dev: first-in-class development experience.
    • Webpack +vue-loader for single file Vue components.
    • State preserving hot-reload
    • State preserving compilation error overlay
    • Lint-on-save with ESLint
    • Source maps
  • npm run build: Production ready build.
    • JavaScript minified withUglifyJS.
    • HTML minified withhtml-minifier.
    • CSS across all components extracted into a single file and minified withcssnano.
    • All static assets compiled with version hashes for efficient long-term caching, and a productionindex.html is auto-generated with proper URLs to these generated assets.
    • Usenpm run build --reportto build with bundle size analytics.

Fork It And Make Your Own

You can fork this repo to create your own boilerplate, and use it withvue-cli:

vue init username/repo my-project

Packages

No packages published

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp