Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Install surge ``` bash npm add -D surge ``` - Create an icon for the application Use android icon generator tool: https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html - Generate favicon and application meta Use favicon generator tool: https://realfavicongenerator.net - Create `public/` directory Copy the favicon and meta files Create `index.html` file - Add application name in `public/manifest.json` and `public/index.html` - Add following npm scripts to package.json ``` json "build": "vue build src/index.js", "prebuild": "npm run test", "postbuild": "cp dist/index.html dist/200.html", "deploy": "surge -p ./dist", "predeploy": "npm run build" ``` - Add `CNAME` file to `public` directory - Execute `npm run deploy`
- Loading branch information