vue使用pwa
Vue社交登录 (vue-social-login)
A basic social login PWA project example using Vue, Firebase and Bulma.
使用Vue,Firebase和Bulma的基本社交登录PWA项目示例。
创建为 (Created as)
Vue CLI v3.11.0
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, PWA, Router, CSS Pre-processors, Linter
? Use history mode for router? (Requires proper server setup for index fallback in production) Yes
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are supported by default): Sass/SCSS (with dart-sass)
? 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 config files
项目设置 (Project setup)
yarn install
编译和热重装以进行开发 (Compiles and hot-reloads for development)
yarn run serve
编译并最小化生产 (Compiles and minifies for production)
yarn run build
运行测试 (Run your tests)
yarn run test
整理和修复文件 (Lints and fixes files)
yarn run lint
Firebase部署 (Firebase Deploy)
To connect your local machine to your Firebase account
要将本地计算机连接到Firebase帐户
firebase login
To build and deploys the dist folder content to your Firebase project
生成dist文件夹内容并将其部署到Firebase项目中
npm run build && firebase deploy
Instagram登录 (Instagram Login)
自定义配置 (Customize configuration)
请参阅配置参考 。
图书馆 (Libraries)
翻译自: https://vuejsexamples.com/a-basic-social-login-pwa-project-example-using-vue/
vue使用pwa