8 | Dropdown can have different contents inside.
9 | You can even put more buttons inside if you want!
10 |
├── .browserslistrc
├── babel.config.js
├── postcss.config.js
├── public
├── favicon.ico
└── index.html
├── composing-components.pdf
├── src
├── views
│ ├── Home.vue
│ ├── ExampleOne.vue
│ ├── Dynamic.vue
│ ├── ExampleTwo.vue
│ └── ExampleThree.vue
├── main.js
├── components
│ ├── AppButton.vue
│ ├── AppDropdown.vue
│ ├── AppSelect.vue
│ ├── Layout.vue
│ └── AppTooltip.vue
├── App.vue
└── router.js
├── .editorconfig
├── .gitignore
├── .eslintrc.js
├── README.md
└── package.json
/.browserslistrc:
--------------------------------------------------------------------------------
1 | > 1%
2 | last 2 versions
3 | not ie <= 8
4 |
--------------------------------------------------------------------------------
/babel.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | presets: [
3 | '@vue/app'
4 | ]
5 | }
6 |
--------------------------------------------------------------------------------
/postcss.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: {
3 | autoprefixer: {}
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shentao/composing-components/HEAD/public/favicon.ico
--------------------------------------------------------------------------------
/composing-components.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/shentao/composing-components/HEAD/composing-components.pdf
--------------------------------------------------------------------------------
/src/views/Home.vue:
--------------------------------------------------------------------------------
1 |
2 | Demo Time!
4 | AppTooltip
4 |
5 | How are you
6 |
13 |
8 | Dropdown can have different contents inside.
9 | You can even put more buttons inside if you want!
10 |