Frontend: Move css to app directory #15

This commit is contained in:
Michael Mayer 2019-05-19 19:06:37 +02:00
parent 5accd629d2
commit 9061a4a683
5 changed files with 6 additions and 5 deletions

View file

@ -1,7 +1,6 @@
import Vue from "vue"; import Vue from "vue";
import Vuetify from "vuetify"; import Vuetify from "vuetify";
import Router from "vue-router"; import Router from "vue-router";
import "../css/app.css";
import PhotoPrism from "app/photoprism.vue"; import PhotoPrism from "app/photoprism.vue";
import Routes from "routes"; import Routes from "routes";
import Api from "common/api"; import Api from "common/api";

View file

@ -1,6 +1,6 @@
@import url("../node_modules/material-design-icons-iconfont/dist/material-design-icons.css"); @import url("../../../node_modules/material-design-icons-iconfont/dist/material-design-icons.css");
@import url("../node_modules/vuetify/dist/vuetify.min.css"); @import url("../../../node_modules/vuetify/dist/vuetify.min.css");
@import url("../node_modules/leaflet/dist/leaflet.css"); @import url("../../../node_modules/leaflet/dist/leaflet.css");
@import url("photo.css"); @import url("photo.css");
#photoprism div.loading { #photoprism div.loading {

View file

@ -17,6 +17,8 @@
</template> </template>
<script> <script>
import "./css/app.css";
export default { export default {
name: 'photoprism', name: 'photoprism',
computed: {}, computed: {},

View file

@ -6,7 +6,7 @@ const webpack = require("webpack");
const PATHS = { const PATHS = {
app: path.join(__dirname, "src/app.js"), app: path.join(__dirname, "src/app.js"),
css: path.join(__dirname, "css"), css: path.join(__dirname, "src/app/css"),
build: path.join(__dirname, "../assets/server/public/build"), build: path.join(__dirname, "../assets/server/public/build"),
}; };