From f60403f41ea05f65c79b904a6582f1b4bf791abb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20Stenstr=C3=B6m?= Date: Wed, 10 Mar 2021 22:42:52 +0100 Subject: [PATCH] Update documentation to recommend simplified style. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 76940b00..e87acb2b 100644 --- a/README.md +++ b/README.md @@ -161,8 +161,8 @@ class Calendar(component.Component): return "[your app]/components/calendar/calendar.html" class Media: - css = {'all': ['[your app]/components/calendar/calendar.css']} - js = ['[your app]/components/calendar/calendar.js'] + css = '[your app]/components/calendar/calendar.css' + js = '[your app]/components/calendar/calendar.js' ``` And voilá!! We've created our first component.