Skip to content

Commit d8d87b7

Browse files
committed
Readme
1 parent fe8f8e2 commit d8d87b7

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,24 @@ npm run minor # increment minor version
2323
npm run major # increment major version
2424
```
2525

26+
## Project directory outline
27+
28+
```bash
29+
./ # Root
30+
├── build/
31+
│ ├── bundles.js # A bundle config, defines polyfills and etc.
32+
│ ├── rollup.config.js # Rollup config.
33+
│ └── index.js
34+
├── example/
35+
│ ├── src/
36+
│ ├── webpack.config.js # Webpack config for the example.
37+
│ └── .babelrc # Babel config for the example.
38+
├── lib/
39+
│ ├── YourComponent.vue
40+
│ └── index.js
41+
└── config.js
42+
```
43+
2644
## Configuration
2745

2846
### `./config.js`

example/assets/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Put your assets for example here and delete this file

example/webpack.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ module.exports = {
4343
},
4444
resolve: {
4545
alias: {
46-
'vue$': 'vue/dist/vue.esm.js',
47-
'vue-simple-suggest': path.resolve(__dirname, '../')
46+
'vue$': 'vue/dist/vue.esm.js'
4847
},
4948
extensions: ['*', '.js', '.vue', '.json']
5049
},

0 commit comments

Comments
 (0)