深度保持探索全栈开发的无限可能
记录技术成长的每一步

JavaScript 按需加载JS、CSS文件

方法

- ---- - -
	-- - --- -
		- - ----- -- - -
			- -- --- - ---------
			- ------------- -
				--- ---
			---
				- -- --- - -------
				-------- - ----
				-------- - ----
				--------------------
				--- - --------
					-------- - --- -
						--- - --- - --
						--- ---
					--
					-------- - --- -
						--- - --- - --
						--- - - - - -----
					--
				---
					-------- - --- -
					    - ---- - - - --- - ---
							--- ---
						---
							--- - - - - -----
						-
						--- - --
					--
				-
			-
		--
	--
	-- - --- -
		- - ----- -- - -
			- -- --- - ----------
			- ----------- -
				--- ---
			---
				- -- --- - -------
				------ - --
				------ - --
				------ - -----
				------ - -----
				------------------
				--- - ------
					------ - --- -
						--- - --- - --
						--- ---
					--
					------ - --- -
						--- - --- - --
						--- - - - - ------
					--
				---
					------ - --- -
					    - ---- - - - --- - ---
							--- ---
						---
							--- - - - - ------
						-
						--- - --
					--
				-
			-
		--
	-
-

使用示例

- -
--------------- - -
	--------- - - -
-------- - -
	--------- - - - -
--

- -
--------------- - -
	--------- - - -
-------- - -
	--------- - - - -
--