Onsen UI v2.0.0: ons-page is generated to double



  • reproduction code is as follows:

    <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset='utf-8'>
      <link rel="stylesheet" type="text/css" href="node_modules/onsenui/css/onsenui.css" />
      <link rel="stylesheet" type="text/css" href="node_modules/onsenui/css/onsen-css-components.css" />
      <script src="node_modules/onsenui/js/onsenui.js"></script>
      <title>Test</title>
    </head>
    
    <body>
    
      <ons-template id="page1.html">
        <ons-page class="page1">page1</ons-page>
      </ons-template>
      <ons-template id="page2.html">
        <ons-page class="page2">page2</ons-page>
      </ons-template>
    
      <ons-tabbar>
        <ons-tab page="page1.html" label="page1" icon="square" active="true"></ons-tab>
        <ons-tab page="page2.html" label="page2" icon="square"></ons-tab>
      </ons-tabbar>
    
    </body>
    </html>
    

  • Onsen UI

    @Kenkichi Thanks. This has been already reported in gh#1584 and gh#1593



  • This post is deleted!

Log in to reply