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

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

 
 

Repository files navigation

Template for NodeCG bundles that use Vue.js and TypeScript.

Technical Details

  • 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.

Package Commands

  • 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript46.7%
  • CSS24.7%
  • TypeScript23.5%
  • Vue3.0%
  • HTML2.1%

[8]ページ先頭

©2009-2025 Movatter.jp