上一页 1 ··· 293 294 295 296 297 298 299 300 301 ··· 494 下一页
摘要: You can dynamically switch between components in a template by using the reserved <component> element and dynamically bind to its is attribute. By usi 阅读全文
posted @ 2018-07-26 21:26 Zhentiw 阅读(332) 评论(0) 推荐(0)
摘要: Because async components are not bundled with your app, they need to be loaded when requested. This means that your network could be slow, go down, or 阅读全文
posted @ 2018-07-26 19:18 Zhentiw 阅读(173) 评论(0) 推荐(0)
摘要: Vue provides a straight-forward syntax for loading components at runtime to help shave off initial bundle size. You simply define a function that retu 阅读全文
posted @ 2018-07-26 19:13 Zhentiw 阅读(228) 评论(0) 推荐(0)
摘要: A common scenario is to present different components based on the state of the application. Dynamic components in Vue make this simple by providing a  阅读全文
posted @ 2018-07-26 17:59 Zhentiw 阅读(506) 评论(0) 推荐(0)
摘要: in client/app.js, we put user login logic inside here, so that other module can reuse those code by call: app.js: config.js: How to use in user page: 阅读全文
posted @ 2018-07-26 00:43 Zhentiw 阅读(976) 评论(0) 推荐(0)
摘要: Render functions open up a world of customization and control by using pure JavaScript rather than Vue's templating language. When you need to pull of 阅读全文
posted @ 2018-07-26 00:38 Zhentiw 阅读(221) 评论(0) 推荐(0)
摘要: Vue's functional components are small and flexible enough to be declared inside of .vue file next to the main component. This allows you to mix jsx an 阅读全文
posted @ 2018-07-25 00:47 Zhentiw 阅读(354) 评论(0) 推荐(0)
摘要: Declaring templates and elements inside of templates works great for most scenarios. Sometimes you need a bit more control over what your component wi 阅读全文
posted @ 2018-07-24 22:09 Zhentiw 阅读(228) 评论(0) 推荐(0)
摘要: Functional templates allow you to create components consisting of only the template tag and exposing the props passed into the template with the props 阅读全文
posted @ 2018-07-24 20:57 Zhentiw 阅读(473) 评论(0) 推荐(0)
摘要: To bootsrap the application use the following Maven archetype: mvn -DarchetypeGroupId=org.codehaus.mojo.archetypes -DarchetypeArtifactId=webapp-javaee 阅读全文
posted @ 2018-07-24 02:21 Zhentiw 阅读(281) 评论(0) 推荐(0)
上一页 1 ··· 293 294 295 296 297 298 299 300 301 ··· 494 下一页