Last active
August 13, 2019 07:05
-
-
Save parsibox/fbbc31483e68afeb5d9387e488c53921 to your computer and use it in GitHub Desktop.
vuejs - start
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fontawesome from '@fortawesome/fontawesome'; | |
import FontAwesomeIcon from '@fortawesome/vue-fontawesome'; | |
import falight from '@fortawesome/fontawesome-pro-light'; | |
import fasolid from '@fortawesome/fontawesome-pro-solid'; | |
fontawesome.library.add(falight, fasolid); | |
Vue.component(FontAwesomeIcon.name, FontAwesomeIcon); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install @vue/cli -g | |
npm install -g @vue/cli-service | |
npm install vuetify --save | |
npm install @babel/preset-env -D | |
npm install --save axios vue-axios | |
vue add @vue/pwa | |
//vue add vuetify | |
vue create my-test | |
cd my-test | |
//for run : | |
npm run serve | |
vue-cli-service serve | |
//for export : | |
npm run build | |
vue-cli-service build | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install --save material-design-icons-iconfont | |
import 'material-design-icons-iconfont/dist/material-design-icons.css' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
publicPath: '' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment