上一页 1 ··· 297 298 299 300 301 302 303 304 305 ··· 497 下一页
摘要: 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 阅读(509) 评论(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 阅读(977) 评论(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 阅读(223) 评论(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 阅读(355) 评论(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 阅读(476) 评论(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)
摘要: Vue's slots enable you to define where content of a component should land when you define the content inside of a parent component. You can also name 阅读全文
posted @ 2018-07-22 18:03 Zhentiw 阅读(217) 评论(0) 推荐(0)
摘要: While traditional Vue components require a data function which returns an object and a method object with your handlers, vue-class-componentflattens c 阅读全文
posted @ 2018-07-22 17:53 Zhentiw 阅读(1167) 评论(0) 推荐(0)
摘要: While traditional Vue components require a data function which returns an object and a method object with your handlers, vue-class-componentflattens c 阅读全文
posted @ 2018-07-20 21:06 Zhentiw 阅读(706) 评论(0) 推荐(0)
上一页 1 ··· 297 298 299 300 301 302 303 304 305 ··· 497 下一页