We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4438e1e commit 613652aCopy full SHA for 613652a
test/helpers/capitalize.js
@@ -0,0 +1 @@
1
+module.exports = require('lodash').capitalize;
test/test.vue
@@ -5,12 +5,12 @@
5
</template>
6
7
<script>
8
-import _ from 'lodash';
+import capitalize from './helpers/capitalize';
9
10
export default {
11
data() {
12
return {
13
- name: _.capitalize('test'),
+ name: capitalize('test'),
14
};
15
},
16
created() {
0 commit comments