Skip to content

Commit 9299941

Browse files
committed
Improve the SCSS architecture.
1 parent 77319e1 commit 9299941

File tree

7 files changed

+5
-5
lines changed

7 files changed

+5
-5
lines changed

src/app.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ w-app(:class="{ ready }" v-scroll="onScroll")
2626
<script>
2727
import Documentation from '@/documentation'
2828
import TopBar from '@/documentation/top-bar'
29-
import '@/documentation/_base.scss'
29+
import '@/scss/index.scss'
3030
3131
export default {
3232
name: 'app',

src/documentation/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2314,7 +2314,7 @@ import Highlight from '@/components/highlight-message/index'
23142314
23152315
import '@/components/vueperslides/styles.scss'
23162316
import 'simple-syntax-highlighter/dist/sshpre.css'
2317-
import './examples.scss'
2317+
import '@/scss/examples.scss'
23182318
23192319
export default {
23202320
components: {

src/documentation/_base.scss renamed to src/scss/_base.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
@import './variables';
2-
@import './typography';
3-
41
// Global.
52
// --------------------------------------------------------
63
* {
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/scss/index.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@import './variables';
2+
@import './base';
3+
@import './typography';

0 commit comments

Comments
 (0)