javascript - A mobile project was built using vue2.0+vue-cli. After the page is completed, it can be displayed on the PC, but when the page is accessed on the mobile terminal, the content is blank.
PHPz
PHPz 2017-05-16 13:26:50
0
8
1173

Use vue2.0+vue-cli to build a mobile project. After the page is completed, it can be displayed on Google's mobile simulator using http://localhost:8080, but on the mobile terminal it uses 192.168.x.x: 8080 access page, the content is blank. I simplified the APP.vue content and only left a p tag, but it still cannot be displayed. Please help me, I will be very grateful!

<template>
  <p id="app">
    <p>
      11212
    </p>
  </p>
</template>

<script>
export default {
  name: 'app'
}
</script>

<style>

</style>

There is no problem at all on the PC side, but when accessed using 192.168.X.X:8080 on the mobile side,
nothing will be displayed. . .

PHPz
PHPz

学习是最好的投资!

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!