File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Array of sizes to be generated (Square).
3434** targetDir**
3535- Default: ` icons `
3636
37- ** accessibleIcons **
37+ ** iconPlugin **
3838- Default: true
3939
4040Make icons accessible through ` ctx ` or Vue instances.
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ async function run (pwa, _emitAssets) {
3333 [ 1242 , 2688 , 'iphonexsmax' ] // Iphone XS Max
3434 ] ,
3535 targetDir : 'icons' ,
36- accessibleIcons : true ,
36+ iconPlugin : true ,
3737 iconProperty : '$icon' ,
3838 publicPath,
3939 iconSrc : null ,
@@ -79,7 +79,7 @@ async function run (pwa, _emitAssets) {
7979 addManifest . call ( this , options , pwa )
8080
8181 // Add plugin
82- if ( options . accessibleIcons ) {
82+ if ( options . iconPlugin ) {
8383 addPlugin . call ( this , options )
8484 }
8585
@@ -109,7 +109,7 @@ function addPlugin (options) {
109109 icons [ asset . name ] = joinUrl ( options . publicPath , asset . target )
110110 }
111111
112- if ( options . accessibleIcons ) {
112+ if ( options . iconPlugin ) {
113113 this . addPlugin ( {
114114 src : path . resolve ( __dirname , './plugin.js' ) ,
115115 fileName : 'nuxt-icons.js' ,
You can’t perform that action at this time.
0 commit comments