npm install
npm run start
npm run build
npm i webpack webpack-cli webpack-dev-server clean-webpack-plugin -D
npm i vue-loader vue-template-compiler -D
npm i @babel/cli @babel/core @babel/preset-env babel-loader -D
npm i html-webpack-plugin -D
npm i autoprefixer postcss-loader -D
npm i css-loader vue-style-loader mini-css-extract-plugin -D
npm i sass-loader node-sass -D
npm i image-webpack-loader -D
npm i file-loader -D
-P : significa que instalamos como una dependecia de produccion
vue : necesitamos esto para hacer Vue Apps.
npm i -P vue
npm i -P vue-router
npm i -P vuex
npm i @fortawesome/fontawesome-svg-core -D
npm i @fortawesome/vue-fontawesome -D
npm i @fortawesome/free-solid-svg-icons -D
npm i @fortawesome/free-regular-svg-icons -D
npm i @fortawesome/free-brands-svg-icons -D
[https://github.com/FortAwesome/vue-fontawesome#basic]
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
Vue.component('fa',FontAwesomeIcon);
<fa :icon="faUserSecret" />
<fa :icon="faCircleNotch" spin />
<fa :icon="faSpinner" pulse size="lg" />
....
import {faUserSecret,faSpinner,faCircleNotch} from '@fortawesome/free-solid-svg-icons'
....
computed:{
faUserSecret : () => faUserSecret,
faSpinner : () => faSpinner,
faCircleNotch : () => faCircleNotch,
}
....