This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <div> | |
| <label class="font-semibold block text-gray-700" for="input" | |
| >Base Input</label | |
| > | |
| <input | |
| type="text" | |
| :value="modelValue" | |
| @input="$emit('update:modelValue', $event.target.value)" | |
| /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function goToNextLesson () { | |
| const nextLesson = document.querySelector('.list-item.unlock.active ~ .list-item.unlock') | |
| | |
| if (nextLesson) nextLesson.click() | |
| } | |
| function handleDownload() { | |
| let downloadLink = document.querySelector('.lesson-aside a.button') | |
| downloadLink.click() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const plugin = require('tailwindcss/plugin') | |
| const svgToDataUri = require('mini-svg-data-uri') | |
| module.exports = { | |
| purge: [], | |
| darkMode: false, // or 'media' or 'class' | |
| theme: { | |
| extend: {} | |
| }, | |
| variants: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "css.lint.unknownAtRules": "ignore" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "compilerOptions": { | |
| "baseUrl": ".", | |
| "paths": { | |
| "@/*": ["src/*"], | |
| } | |
| }, | |
| "exclude": ["node_modules", "dist"] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git branch -m new-branch-name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git push origin --delete refactor-some-feature |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| code --list-extensions > extensions.list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function titleCaseText(text) { | |
| const words = text.split('-') | |
| return words | |
| .map(word => word.charAt(0).toUpperCase() + word.substring(1).toLowerCase()) | |
| .join(' ') | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms)) |
NewerOlder