We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ab965d commit 618de6eCopy full SHA for 618de6e
index.js
@@ -127,9 +127,15 @@ const login = async () => {
127
try {
128
ensureDirExists(output)
129
130
- await login()
131
- const library = {}
+ console.log('Logging into tailwindui.com...')
+ const success = await login()
132
+ if (!success) {
133
+ console.log('Invalid credentials')
134
+ return 1
135
+ }
136
+ console.log('Success!')
137
138
+ const library = {}
139
const $ = await downloadPage('/components')
140
const links = $('.grid a')
141
const count = 1 //links.length
0 commit comments