Git Product home page Git Product logo

fis3-vue2-pwa-starter's Introduction

fis3-vue2-pwa-starter

fis3+vue2+pwa starter template

目录结构

demo
├── config/                 不同环境下的全局配置
├── dep/                    三方依赖资源(非NPM安装)
├── mock/                   mock配置
├── node_modules/
└── src/
    ├── api/                接口定义
    ├── components/         基础公用组件
    ├── common/             其他通用资源(样式变量/模板)
    ├── lib/                零散的业务使用三方库(非模块化)
    ├── page/               页面vue组件
    ├── store/              vuex
    └── utils/              tools、filters
├── static/                 静态资源
├── deploy.js               远程部署配置
├── workbox-cli-config.js   workbox-build配置
├── .editorconfig, .gitignore
└── LINCENSE, package.json, README.md
  • /static/sw-fallback.js 降级标志文件路径,插件将在入口文件以 <script> 形式插入,默认标志名为window.SW_FALLBACK,若该值为 true,则 sw-register.js 不会引入执行,注册的 service worker 会被unregister
  • workbox-cli-config.js 用来主动分析需缓存资源并生成service-worker.js。
  • /static/manifest.json 里面引用的图片不应添加hash。

npm 相关命令

# 安装工程依赖
npm install

# 在本地启动调试 server
fis3 server start
npm run dev

# 构建测试环境产物并推送到测试服务器
npm run test

# 构建线上生产环境产物并推送到生产服务器
npm run build

相关资料

fis3-vue2-pwa-starter's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

narycc wuqin0791

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.