⚡ Lazy components
This commit is contained in:
@@ -121,15 +121,11 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import section from "../components/section";
|
|
||||||
import swatch from "../components/settings/swatch";
|
|
||||||
import toggle from "../components/toggle";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
"pw-section": section,
|
"pw-section": () => import("../components/section"),
|
||||||
"pw-toggle": toggle,
|
"pw-toggle": () => import("../components/toggle"),
|
||||||
swatch: swatch
|
swatch: () => import("../components/settings/swatch")
|
||||||
},
|
},
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@@ -112,10 +112,9 @@ div.log {
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import section from "../components/section";
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
"pw-section": section
|
"pw-section": () => import("../components/section")
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user