Coder Social home page Coder Social logo

ewall1106 / vue-h5-template Goto Github PK

View Code? Open in Web Editor NEW
509.0 18.0 218.0 5.09 MB

vue-h5-template provides the basic template required for h5 page development, and including some common solutions and extended functions on the basis of the official templates.

Home Page: https://bamboo-vue-h5-template.vercel.app

License: MIT License

JavaScript 55.87% HTML 7.04% Vue 15.08% SCSS 22.01%
vue axios v-router vuex vue2

vue-h5-template's Introduction

VUE-H5-TEMPLATE

vue license

English | 简体中文

Vue-H5-Template provides the basic template required for h5 page development, and including some common solutions and extended functions on the basis of the official templates.

You can choose the vue version you want: vue2 | vue3

Build components: https://bamboo-material.vercel.app

More infomation: https://bamboo-docs.vercel.app

USAGE

# clone
$ git clone [email protected]:Ewall1106/vue-h5-template.git

# install & run
$ yarn & yarn dev

FEATURES

  • eslint check and error prompt.
  • reset stylesheet to reduce browser inconsistencies.
  • generate simulated data by mock.js.
  • prettier uniform program style.
  • mobile adaptation.
  • vuex encapsulation && usage.
  • vue-router routing configuration and permission control.
  • axios encapsulation and request.
  • and more...

MEMO

  1. If you want to use this project as the basic template on PC, then you only need to remove the content related to the mobile adaptation, that is, the configuration related to the postcss-px-to-viewport plugin.

  2. Other relevant template recommend:

LICENSE

  • MIT
  • Copyright (c) 2022-present danielxiong

vue-h5-template's People

Contributors

ewall1106 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vue-h5-template's Issues

在项目中使用van-field组件第一次页面加载需要点击多次才能聚焦问题

设备 / 浏览器

iphone手机微信中

Vant 版本

3.2.2

Vue 版本

3.2.4

重现链接

本项目就出现这个问题

描述问题

使用van-field组件在iphonex手机微信中第一次页面载入时需要连续点击多次才能聚焦,在其它手机的浏览器中没问题,就只在iphone手机微信中第一次页面加载时需要连续点击多次才能聚焦,之后点击都没问题能马上聚焦,就第一次需要多次点击才能聚焦
代码如图
image
image

应用启动时报错

ERROR Failed to compile with 1 error 14:53:27

error in ./node_modules/vant/es/toast/index.css

TypeError: Cannot read property 'prefix_exceptions' of undefined
at Array.map ()

@ ./node_modules/vant/es/toast/style/index.js 7:0-22
@ ./src/utils/permission.ts
@ ./src/main.ts
@ multi ./src/main.ts
ERROR Build failed with errors.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

控制台报ts错

image
image
image
image

bz不知道为什么控制太突然爆ts的错误 删除掉node_modules库再重新安装也没有效果, 这个要如何解决

关于说明文档

请教一个问题,你这个说明文档,请问是使用的vuepress吗?

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.