Install the moment library: cd my-vue-cli-project npm install moment. Load it in your main.js file: Vue.use(require("moment"));.
確定! 回上一頁