| Build | Statements | Branches | Functions | Lines | Built By | We Love |
| ------ | ------ | ------- | ------- | ------ | -------| ------- |
npm install or npm ilerna bootstrap<template>
<div class="hello">
<h1>{{ msg }}</h1>
<MyButton>Button From Base Library</MyButton>
</div>
</template>
<script>
import { MyButton } from '@macfit-vue/base';
export default {
name: 'HelloWorld',
components: {
MyButton,
},
data() {
return {
msg: 'Welcome to Macfit Project Template',
};
},
};
</script>4. If you add or change a dependency(base or cms project), you must still run the following command:
lerna bootstrapnpm startnpm run unit PASS test/unit/specs/sample.test.js
HelloWorld
✓ is a object (2 ms)
✓ renders the correct markup (7 ms)
----------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------------|---------|----------|---------|---------|-------------------
All files | 50 | 100 | 50 | 50 |
HelloWorld.vue | 100 | 100 | 100 | 100 |
Test.vue | 0 | 100 | 0 | 0 | 9-16
----------------|---------|----------|---------|---------|-------------------
Test Suites: 1 passed, 1 total
Tests: 2 passed, 2 total
Snapshots: 0 total
Time: 2.737 snpm run lint/Users/mobven/dev/ui/scripts/components/Header.js
24:2 error Unnecessary semicolon no-extra-semi
✖ 2 problems (2 errors, 0 warnings)
npm run build- Mobven Technology, (creator)
MIT © Mobven
