未验证 提交 71236d3d 编写于 作者: J Jeff Wang 提交者: GitHub

Deprecated san (#302)

* Move san files to deprecated folder.

* Clean up some leftover san code in Vue.

* remove San package from the package.json
上级 a6b80b99
......@@ -22,11 +22,6 @@
"lodash": "^4.17.4",
"normalize.css": "^6.0.0",
"qs": "^6.5.1",
"san": "3.2.3",
"san-mui": "^1.0.4",
"san-router": "^1.1.1",
"san-store": "^1.0.1",
"san-update": "^2.1.0",
"vue": "^2.5.2",
"vue-router": "^3.0.1",
"vuetify": "^0.17.7",
......@@ -65,7 +60,6 @@
"postcss-loader": "^1.3.3",
"raw-loader": "^0.5.1",
"rimraf": "^2.6.2",
"san-loader": "^0.0.4",
"style-loader": "^0.16.1",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.1",
......
......@@ -46,7 +46,7 @@ export default {
}
},
methods: {
handleItemClick: function (item) {
handleItemClick: function (item) {
this.selected = item.name
this.$router.push(item.url)
}
......
......@@ -18,12 +18,13 @@
Download image
</v-btn>
<v-slider label="Scale"
max="1"
min="0.1"
step="0.1"
v-model="config.scale"
dark></v-slider>
<v-slider
label="Scale"
max="1"
min="0.1"
step="0.1"
v-model="config.scale"
dark></v-slider>
</div>
</template>
<script>
......
......@@ -23,7 +23,6 @@
<script>
import ExpandPanel from '../../common/component/ExpandPanel';
import Image from './Image';
//import Pagination from 'san-mui/Pagination';
import {cloneDeep, flatten} from 'lodash';
......@@ -32,7 +31,6 @@ export default {
components: {
'ui-image': Image,
'ui-expand-panel': ExpandPanel,
//'ui-pagination': Pagination
},
computed: {
filteredRunsList() {
......
......@@ -29,8 +29,6 @@
</div>
</template>
<script>
// TODO: Maybe migrate the CheckBoxGroup from San to Vue
//import CheckBoxGroup from '../../common/component/CheckBoxGroup';
export default {
props: {
......
//import 'normalize.css/normalize.css';
//import 'san-mui/index.css';
//import './common/component/ui-common.styl';
//
//import './home/index';
//import './scalars/index';
//import './images/index';
//import './histogram/index';
//import './graph/index';
//
//import App from './App';
//new App({
// data: {
// titleName: 'VisualDL'
// }
//}).attach(document.getElementById('root'));
//
//var vm = new Vue({
// el: "#root",
//
//})
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
......
......@@ -25,13 +25,6 @@
</template>
<script>
// TODO: Consider create Vue Components for these
// // components
// import Button from 'san-mui/Button';
// import Icon from 'san-mui/Icon';
// import DropDownMenu from '../../common/component/DropDownMenu';
// libs
import echarts from 'echarts';
import axios from 'axios';
......
......@@ -28,8 +28,6 @@
<script>
import ExpandPanel from '../../common/component/ExpandPanel';
import Chart from './Chart';
// import Pagination from 'san-mui/Pagination';
import {cloneDeep} from 'lodash';
export default {
......
......@@ -58,16 +58,6 @@
</template>
<script>
//import TextField from 'san-mui/TextField';
// TODO: Consider create Vue Components for these
//import Slider from '../../common/component/Slider';
//import RadioGroup from '../../common/component/RadioGroup';
//import DropDownMenu from '../../common/component/DropDownMenu';
//import CheckBoxGroup from '../../common/component/CheckBoxGroup';
//import Button from 'san-mui/Button';
export default {
props: {
runsItems: Array,
......
......@@ -57,7 +57,7 @@ const config = {
module: {
noParse: [
/node_modules\/(san|axios)\//
/node_modules\/(axios)\//
],
rules: [
{
......@@ -120,7 +120,7 @@ const config = {
new CaseSensitivePathsPlugin(),
new webpack.LoaderOptionsPlugin({
test: /\.(styl|san)$/
test: /\.(styl)$/
}),
new ExtractTextPlugin({filename: '[name].css'})
]
......
......@@ -31,10 +31,7 @@ module.exports = merge(baseWebpackConfig, {
}),
new webpack.LoaderOptionsPlugin({
test: /\.(styl|san)$/,
san: {
autoprefixer: autoPrefixOptions
}
test: /\.(styl)$/,
}),
new webpack.optimize.CommonsChunkPlugin({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册