Skip to content

Commit 1e8325a

Browse files
committed
feat(project): Rename CSS file to style.css
1 parent 6feba65 commit 1e8325a

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

docs/.vuepress/components/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import '../../../dist/vue-datepicker.css';
1+
@import '../../../dist/style.css';
22

33
.example input,
44
.example select {

docs/demo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
```
166166

167167
<style>
168-
/*@import '../../dist/vue-datepicker.css';*/
168+
/* @import '../../dist/style.css'; */
169169

170170
/* Start vue-datepicker.css */
171171
.rtl {

docs/guide/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Download the latest release from github
2727
2828
<script>
2929
import DatePicker from '@sum.cumo/vue-datepicker'
30-
import '@sum.cumo/vue-datepicker/dist/vue-datepicker.css'
30+
import '@sum.cumo/vue-datepicker/style.css'
3131
3232
export default {
3333
name: 'Example',
@@ -48,19 +48,19 @@ Another option is to use webpacks [css-loader](https://webpack.js.org/loaders/cs
4848

4949
```vue
5050
<style>
51-
@import '~@sum.cumo/vue-datepicker/dist/Datepicker.css';
51+
@import '~@sum.cumo/vue-datepicker/style.css';
5252
</style>
5353
```
5454

5555
If you use [SASS](https://sass-lang.com/) you can directly import the src file.
5656

5757
```vue
5858
<style lang="scss">
59-
@import '~@sum.cumo/vue-datepicker/src/styles/style.scss';
59+
@import '~@sum.cumo/vue-datepicker/style.scss';
6060
</style>
6161
```
6262

63-
The `esm` build is for modern browser and includes ES5 or higher.
63+
The `esm` build is for modern browsers and includes ES5 or higher.
6464
If you want to use it and want to include own polyfills you need to transpile it within your build process:
6565

6666
- vue-cli [documentation](https://cli.vuejs.org/config/#transpiledependencies)

scripts/build/default.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,6 @@ export default {
3535
globals: {
3636
vue: 'Vue',
3737
},
38-
assetFileNames: (assetInfo) => {
39-
if (assetInfo.name === 'style.css') return 'vue-datepicker.css'
40-
return assetInfo.name
41-
},
4238
},
4339
},
4440
},

0 commit comments

Comments
 (0)