A rookie, who had no choice but to turn to the god of Sifou for several days
question: I use the vue init webpack project name to build the project:
package
webpack.base.conf.js
index.js
run dev
route.js
drawer.vue
A rookie, who had no choice but to turn to the god of Sifou for several days
question: I use the vue init webpack project name to build the project:
package
webpack.base.conf.js
index.js
run dev
route.js
drawer.vue
import Drawer from'. / components/drawer.vue'
as written in the document
1. You can't use it directly on a single page, use it in App.vue, router-view is in default slot
2.drawer, and you don't use slot=drawer to define menu content, nor do you have any action buttons that trigger menu display, and it's normal not to show anything.
3. Refer to https://github.com/airyland/v.
you give it a height in the drawer-style of Drawer
Previous: Request header when submitting axios to submit data
Next: Multiple scrapy-redis cannot be crawled at the same time