https://github.com/s-kainet/vue-ts-sfc-webpack-hmr
Sample starter for VueJS+TypeScript+SFC+HMR
https://github.com/s-kainet/vue-ts-sfc-webpack-hmr
hot-module-replacement single-file-component typescript vuejs2 webpack
Last synced: 7 months ago
JSON representation
Sample starter for VueJS+TypeScript+SFC+HMR
- Host: GitHub
- URL: https://github.com/s-kainet/vue-ts-sfc-webpack-hmr
- Owner: s-KaiNet
- Created: 2018-03-25T13:43:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-25T14:34:15.000Z (over 7 years ago)
- Last Synced: 2025-01-19T07:24:57.849Z (9 months ago)
- Topics: hot-module-replacement, single-file-component, typescript, vuejs2, webpack
- Language: JavaScript
- Size: 79.1 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Just another VueJS starter
This starter uses latest TypeScript enhancements introduced in VueJS 2.5 as well as other plugins and tools which make development easier. As a result: type checking, tslint, intellisense in single-file-components written in TypeScript.### Essential parts:
- completely based on vue-cli webpack template
- no unit tests (things to improve)
- Vue `2.5.2` (runtime-only build since everything is in `.vue` files)
- vue-router `3.0.1`
- TypeScript `2.7.2`
- tslint - [tslint-config-standard](https://github.com/blakeembrey/tslint-config-standard)
- Single File Components
- Webpack `3.6.0`
- Hot Module Replacement
- [ts-loader](https://github.com/TypeStrong/ts-loader) `3.5.0` & [fork-ts-checker-webpack-plugin](https://github.com/Realytics/fork-ts-checker-webpack-plugin) `0.4.1`
- starter doesn't use [vue-class-component](https://github.com/vuejs/vue-class-component)
- vscode: [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur) & [TSLint Vue](https://marketplace.visualstudio.com/items?itemName=prograhammer.tslint-vue)### How to play locally:
1. Clone the repo
2. `npm i`
3. `npm run dev`