Skip to content

Vue.js 2 + Typescript (including typed webpack v4 config) + Babel

License

Notifications You must be signed in to change notification settings

tony/vue-typescript-vanilla-starter

Repository files navigation

See also: https://github.com/tony/react-typescript-vanilla-starter

Split off of https://github.com/tony/cv v2 in the initial stages

MIT licensed. Feel free to copy, fork, etc.

Summary

Dev server, typed webpack config, typescript, jsx, babel.

No SASS/SCSS/LESS. No static files. Wiring those in are highly dependent on integration.

Usage

npm install  # install packages

npm run start  # launch + hot reloading + watch file changes http://localhost:3091

npm run build  # build to dist/

Environmental variables

Webpack's environmental variables can be passed (--env):

Launch dev server on port 3092:

npm run start -- --env.devServerPort 3092

npm run start -- --env.production

npm run start -- --open Launch browser + build + watch files, http://localhost:3099

Contribution guidelines

Corrections: ✔️

Package updates: ✔️ (please QA to verify build output / watch / reloading works)

CI System: ✔️ (get travis setup)

New feature / Loader: 🚫 (please create a fork!)

Thanks / Credits