mirror of
https://github.com/kognise/water.css.git
synced 2025-12-06 06:44:58 +01:00
feat: add new installation guide, move to docs/
This commit is contained in:
parent
cecf3becfa
commit
234152f181
27 changed files with 537 additions and 350 deletions
|
|
@ -19,7 +19,7 @@ const postcssColorModFunction = require('postcss-color-mod-function').bind(null,
|
|||
|
||||
const paths = {
|
||||
srcDir: 'src/*',
|
||||
docsDir: '*',
|
||||
docsDir: 'docs/*',
|
||||
styles: { src: 'src/builds/*.css', dest: 'dist' },
|
||||
}
|
||||
|
||||
|
|
@ -114,10 +114,8 @@ function watch() {
|
|||
style()
|
||||
|
||||
browserSync.init({
|
||||
server: {
|
||||
baseDir: './',
|
||||
},
|
||||
startPath: 'index.html',
|
||||
server: { baseDir: './' },
|
||||
startPath: 'docs/index.html',
|
||||
})
|
||||
|
||||
gulp.watch(paths.srcDir, style)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue