Posts

[SPA Tutorial : Vue.js] Part1 : Project setting, gọi data API sử dụng Axios - Price

Image
Step 1: Project Setting [Ready] Node.js , Vue CLI phải được cài đặt đúng với OS của môi trường tiến hành. Tạo một dự án dựa trên phiên bản mới nhất của Vue CLI. (cài đặt Vue CLI) Tham khảo các cài đặt bên dưới và tiến hành cài đặt Preset bằng Manual Mode. vue create live-cryptocurrency Vue CLI v3.3.0 ┌───────────────────────────┐ │ Update available: 3.7.0 │ └───────────────────────────┘ ? Please pick a preset: Manually select features ? Check the features needed for your project: Babel, Router, CSS Pre-processors, Linter ? Use history mode for router? (Requires proper server setup for index fallback in production) No ? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are supported by default): Sass/SCSS ? Pick a linter / formatter config: Basic ? Pick additional lint features: (Press <space> to select, <a> to toggle all, <i> to invert selection)Lint on save ? Where do you prefer placing config for Babel, PostCSS, ESLint, etc.? In dedicated ...