chore: 添加初始项目文件和依赖项
初始化项目,添加 favicon.ico、screenshot.png 等静态资源文件,以及 Vue、TailwindCSS 等依赖项。配置了 Vite 和 PostCSS,并生成了基本的项目结构。
This commit is contained in:
		
							
								
								
									
										39
									
								
								node_modules/tailwindcss/lib/util/prefixSelector.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								node_modules/tailwindcss/lib/util/prefixSelector.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,39 @@ | ||||
| "use strict"; | ||||
| Object.defineProperty(exports, "__esModule", { | ||||
|     value: true | ||||
| }); | ||||
| Object.defineProperty(exports, /** | ||||
|  * @template {string | import('postcss-selector-parser').Root} T | ||||
|  * | ||||
|  * Prefix all classes in the selector with the given prefix | ||||
|  * | ||||
|  * It can take either a string or a selector AST and will return the same type | ||||
|  * | ||||
|  * @param {string} prefix | ||||
|  * @param {T} selector | ||||
|  * @param {boolean} prependNegative | ||||
|  * @returns {T} | ||||
|  */ "default", { | ||||
|     enumerable: true, | ||||
|     get: function() { | ||||
|         return _default; | ||||
|     } | ||||
| }); | ||||
| const _postcssselectorparser = /*#__PURE__*/ _interop_require_default(require("postcss-selector-parser")); | ||||
| function _interop_require_default(obj) { | ||||
|     return obj && obj.__esModule ? obj : { | ||||
|         default: obj | ||||
|     }; | ||||
| } | ||||
| function _default(prefix, selector, prependNegative = false) { | ||||
|     if (prefix === "") { | ||||
|         return selector; | ||||
|     } | ||||
|     /** @type {import('postcss-selector-parser').Root} */ let ast = typeof selector === "string" ? (0, _postcssselectorparser.default)().astSync(selector) : selector; | ||||
|     ast.walkClasses((classSelector)=>{ | ||||
|         let baseClass = classSelector.value; | ||||
|         let shouldPlaceNegativeBeforePrefix = prependNegative && baseClass.startsWith("-"); | ||||
|         classSelector.value = shouldPlaceNegativeBeforePrefix ? `-${prefix}${baseClass.slice(1)}` : `${prefix}${baseClass}`; | ||||
|     }); | ||||
|     return typeof selector === "string" ? ast.toString() : ast; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user