發表文章

目前顯示的是 11月 20, 2018的文章

North Queensland

圖片
Region in Queensland, Australia North Queensland Queensland Queensland's regions Population 231,628 (2011) [1]  • Density 2.89384882 2.893849/km 2 ( 7.49503403 7.495034/sq mi) Area 80,041.5 km 2 (30,904.2 sq mi) LGA(s) Burdekin, Charters Towers, Hinchinbrook, Mackay, Palm Island, Townsville, Cairns State electorate(s) Whitsunday, Burdekin, Hinchinbrook, Mackay Federal Division(s) Dawson, Kennedy North Queensland or the Northern Region is the northern part of the Australian state of Queensland that lies just south of Far North Queensland. Queensland is a massive state, larger than many countries, and the tropical northern part of it has been historically remote and undeveloped, resulting in a distinctive regional character and identity. Townsville is the largest urban centre in North Queensland, leading it to be regarded as an unofficial capital. [2] The region has a population of 231,628 and covers 80,041.5 km 2 (30,904.2 sq mi

vuejs - Async AND Dynamic component

圖片
up vote 0 down vote favorite What I want to achive is to combine vuejs's "Async Components" and its "Dynamic Components" (https://vuejs.org/v2/guide/components-dynamic-async.html) to get a flexible way of using dynamic components. Let's say, I have the following component: <template> <div> some stuff.. <component :is="type"></component> some stuff... </div> </template> <script> export default { name: "mycomponent", props: { type: {} } } </script> I would use it like so: <mycomponent type="myinput"></mycomponent> To make it work, I would need to load the myinput component in the mycomponent and I will do it aync: co