electron-vue-typescript-starter
:nut_and_bolt: An Electron starter that supports VueJS + TypeScript.
File Explorer
- App.vue
- index.jade
- main.ts
- render.ts
- vue-module.d.ts
- .editorconfig
- .gitignore
- _compilerc
- forge.config.js
- LICENSE
- package.json
- README.md
- tsconfig.json
- tslint.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
npm install
View Details ▼
npm install
Install Node packages.
npm {{[i|install]}}
Install dependencies listed in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}
Download the latest version of a package and add it to the list of dev dependencies in `package.json`:
npm run
View Details ▼
npm run
Run a script.
npm run
List available scripts:
npm run {{script_name}}
Run a script:
npm run {{script_name}} -- {{argument}} {{--option}}
Pass arguments to a script:
npm start
View Details ▼
npm start
This command is an alias of `npm run start`.
tldr npm run
View documentation for the original command:
tslint
View Details ▼
tslint
A pluggable linting utility for TypeScript.
tslint --init
Create TSLint config:
tslint {{path/to/file1.js path/to/file2.js ...}}
Lint on a given set of files:
tslint --fix
Fix lint issues:
