Skip to content

xuxusheng/html-attr-scope-loader-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

html-attr-scope-loader-example

在html中给每个标签加上自定义属性

npm start 启动,localhost:8080 访问页面

打开浏览器页面可以看到相应的效果。

引入了 html-attr-scope-loader 和 css-attr-scope-loader

npm install 安装依赖包。

webpack 可以查看打包后的文件,会生成一个 build 文件夹。

npm start 可以在浏览器中输入 localhost:8080 查看效果。

About

在html中给每个标签加上自定义属性

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published