Socket
Book a DemoInstallSign in
Socket

test-for-toolkit

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

test-for-toolkit

A Vue.js project

latest
npmnpm
Version
2.0.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

test-for-toolkit

A Sample project to make external tools for Toolkit.

Born to life from webpack-simple template.

npm package address: https://www.npmjs.com/package/test-for-toolkit

Basic rules

  • App.vue file is your golbal container but will never be in toolkit. It's only here for devlopment purpose
  • Don't forget to register your module in the store in the mounted hook, see Charts.vue line 45
  • You should expose your variables for events, actions, mutations inside the config folders
  • So don't use plain text for events names, otherwise it will be a nightmare to retro-engineering
  • Be carefull with the created hook
  • Try to find a good name for your tool, and keep it for the store module, the events namespace, ...
  • Don't forgeet to update the main entry in the package.json file, it should be the tool composant (that will be integrated to Toolkit)
  • In Toolkit, lodash is installed so go on!

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# increment version
npm version [major | minor | patch]

# publish
npm publish

For detailed explanation on how things work, consult the docs for vue-loader.

FAQs

Package last updated on 10 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts