Nuxt Module
Development
yarn install
- Update the following:
-
package.json
: change@enab/module-starter
to@enab/your-module-name
. -
src/module.ts
: changemodule-starter
andmoduleStarter
. -
components/ModuleName
: change directory nameModuleName
to your module name.
-
yarn dev:prepare
yarn dev
- Your playground inside
playground
folder.
Additions
in playground/classes/App.ts
: add points: number ;
to class
and this.points = args.points ?? 0
to the constructor .