1.0.0-beta2 • Published 3 years ago
@vuedoc/plugin-vuex v1.0.0-beta2
Vuex Vuedoc Plugin
This adds support of Vuex on Vuedoc
Install
This package is ESM only : Node 16+ is needed to use it and it must be imported instead of required.
npm install --save @vuedoc/plugin-vuexUsage
Usage with Vuedoc Markdown
// vuedoc.config.js
import { Loader } from '@vuedoc/parser';
import { createVuexPlugin } from '@vuedoc/plugin-vuex';
export default {
  output: 'docs/',
  parsing: {
    plugins: [
      createVuexPlugin([
        'path/to/store.js',
      ]),
    ],
  },
};Then:
vuedoc-md --config vuedoc.config.js components/*.vueUsage with Vuedoc Parser
import { parseComponent } from '@vuedoc/parser';
import { createVuexPlugin } from '@vuedoc/plugin-vuex';
const component = await parseComponent({
  filename: 'test/examples/classic/counter-hot/CounterControls.vue',
  plugins: [
    createVuexPlugin([
      'path/to/store.js',
    ]),
  ],
});Development Setup
At the top-level of your project run:
direnv allowThe next time your launch your terminal and enter the top-level of your project,
direnvwill check for changes.
Versioning
Given a version number MAJOR.MINOR.PATCH, increment the:
MAJORversion when you make incompatible API changes,MINORversion when you add functionality in a backwards-compatible manner, andPATCHversion when you make backwards-compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions
to the MAJOR.MINOR.PATCH format.
See SemVer.org for more details.
License
Under the MIT license. See LICENSE file for more details.
1.0.0-beta2
3 years ago
1.0.0-beta1
3 years ago