]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commit
refactor: move global styles to `main.css`; use only scoped styles in `App.vue`
authorHaoqun Jiang <haoqunjiang@gmail.com>
Tue, 12 Jul 2022 10:16:18 +0000 (18:16 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Tue, 12 Jul 2022 10:16:18 +0000 (18:16 +0800)
commite08d04e562abc105a0445b442ccc3c12f850c4a1
treeb0c49071aa8feda9ec93ba2828da9217d26b09a7
parent449f0c565489244f1bb5f7403a3820fdf39dc25b
refactor: move global styles to `main.css`; use only scoped styles in `App.vue`

- `base.css` contains CSS resets and variables
- `main.css` is the global styles of the app, to be imported by `main.js`
- `App.vue` only contains the styles for the root `App` component
template/base/src/assets/main.css [new file with mode: 0644]
template/code/default/src/App.vue
template/code/router/src/App.vue
template/code/typescript-default/src/App.vue
template/code/typescript-router/src/App.vue
template/entry/default/src/main.js
template/entry/pinia/src/main.js
template/entry/router-and-pinia/src/main.js
template/entry/router/src/main.js