forked fromzoton2/nodecg-vue-ts-template
- Notifications
You must be signed in to change notification settings - Fork0
Template for NodeCG bundles that use Vue.js and TypeScript.
License
NotificationsYou must be signed in to change notification settings
techguydave/nodecg-vue-ts-template
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Template for NodeCG bundles that use Vue.js and TypeScript.
- Extension usesTypeScript.
- Browser usesVue.js, withTypeScript for the scripting.
- TypeScript uses decorators, withvue-class-component,vue-property-decorator andvuex-class to help (I chose this because in my experience it helped with correct typings while building Single File Components).
- IncludesVuex and some example files for using it with replicants.
- Dashboard also includesVuetify, for easy styling of UI.
- Builds usingwebpack.
- ESLint is included for both extension/browser.
- Extendsairbnb-base, alongside a few other recommended packages.
- Has some personal choices/override rules, but not many.
- I personally useVisual Studio Code with some appropriate extensions, so have made sure it works well in that editor.
script/typeschemas.js
included to help you convert JSON schemas toTypeScript typings.
autofix
: Automatically fix any possible linting errors using ESLint.autofix:browser
: See above, but only for browser based code.autofix:extension
: See above, but only for extension based code.build
: Build written code for use in production.build:browser
: See above, but only for browser based code.build:extension
: See above, but only for extension based code.clean
: Clean up all build/watched files.start
: Start NodeCG.typeschemas
: Create TypeScript typings of anything in theschemas
directory, and also theConfigschema.json
if it exists.watch
: Build code and watch for changes, for use in development.watch:browser
: See above, but only for browser based code.watch:extension
: See above, but only for extension based code.
About
Template for NodeCG bundles that use Vue.js and TypeScript.
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Languages
- JavaScript46.7%
- CSS24.7%
- TypeScript23.5%
- Vue3.0%
- HTML2.1%