File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,6 @@ pnpm-debug.log*
20
20
* .sln
21
21
* .sw ?
22
22
23
- // Cypress additional files
23
+ # Cypress additional files
24
24
cypress /videos
25
25
cypress /screenshots
Original file line number Diff line number Diff line change 1
- import { join , resolve } from 'path'
1
+ import { join } from 'path'
2
2
3
3
export default function ( option ) {
4
- if ( option [ 'PersianDate' ] )
5
- this . addPlugin ( {
6
- src : resolve ( __dirname , '../persian-date/lib/plugin.js' ) ,
7
- fileName : 'PersianDate.js'
8
- } )
4
+ if ( option [ 'PersianDate' ] ) {
5
+ this . addModule ( '@alireza-ab/persian-date/lib/nuxt' )
6
+ }
9
7
this . nuxt . hook ( 'components:dirs' , ( dirs ) => {
10
8
dirs . push ( {
11
9
path : join ( __dirname , 'src/components' ) ,
Original file line number Diff line number Diff line change 36
36
" vue persian datepicker" ,
37
37
" vue persian range datepicker"
38
38
],
39
+ "files" : [
40
+ " src" ,
41
+ " dist" ,
42
+ " nuxt.js"
43
+ ],
39
44
"author" : " Alireza Alibeiki <alibeikialireza@gmail.com>" ,
40
45
"license" : " MIT" ,
41
46
"dependencies" : {
You can’t perform that action at this time.
0 commit comments