未验证 提交 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 @@ ...@@ -22,11 +22,6 @@
"lodash": "^4.17.4", "lodash": "^4.17.4",
"normalize.css": "^6.0.0", "normalize.css": "^6.0.0",
"qs": "^6.5.1", "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": "^2.5.2",
"vue-router": "^3.0.1", "vue-router": "^3.0.1",
"vuetify": "^0.17.7", "vuetify": "^0.17.7",
...@@ -65,7 +60,6 @@ ...@@ -65,7 +60,6 @@
"postcss-loader": "^1.3.3", "postcss-loader": "^1.3.3",
"raw-loader": "^0.5.1", "raw-loader": "^0.5.1",
"rimraf": "^2.6.2", "rimraf": "^2.6.2",
"san-loader": "^0.0.4",
"style-loader": "^0.16.1", "style-loader": "^0.16.1",
"stylus": "^0.54.5", "stylus": "^0.54.5",
"stylus-loader": "^3.0.1", "stylus-loader": "^3.0.1",
......
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
Download image Download image
</v-btn> </v-btn>
<v-slider label="Scale" <v-slider
label="Scale"
max="1" max="1"
min="0.1" min="0.1"
step="0.1" step="0.1"
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
<script> <script>
import ExpandPanel from '../../common/component/ExpandPanel'; import ExpandPanel from '../../common/component/ExpandPanel';
import Image from './Image'; import Image from './Image';
//import Pagination from 'san-mui/Pagination';
import {cloneDeep, flatten} from 'lodash'; import {cloneDeep, flatten} from 'lodash';
...@@ -32,7 +31,6 @@ export default { ...@@ -32,7 +31,6 @@ export default {
components: { components: {
'ui-image': Image, 'ui-image': Image,
'ui-expand-panel': ExpandPanel, 'ui-expand-panel': ExpandPanel,
//'ui-pagination': Pagination
}, },
computed: { computed: {
filteredRunsList() { filteredRunsList() {
......
...@@ -29,8 +29,6 @@ ...@@ -29,8 +29,6 @@
</div> </div>
</template> </template>
<script> <script>
// TODO: Maybe migrate the CheckBoxGroup from San to Vue
//import CheckBoxGroup from '../../common/component/CheckBoxGroup';
export default { export default {
props: { 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 // The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias. // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue' import Vue from 'vue'
......
...@@ -25,13 +25,6 @@ ...@@ -25,13 +25,6 @@
</template> </template>
<script> <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 // libs
import echarts from 'echarts'; import echarts from 'echarts';
import axios from 'axios'; import axios from 'axios';
......
...@@ -28,8 +28,6 @@ ...@@ -28,8 +28,6 @@
<script> <script>
import ExpandPanel from '../../common/component/ExpandPanel'; import ExpandPanel from '../../common/component/ExpandPanel';
import Chart from './Chart'; import Chart from './Chart';
// import Pagination from 'san-mui/Pagination';
import {cloneDeep} from 'lodash'; import {cloneDeep} from 'lodash';
export default { export default {
......
...@@ -58,16 +58,6 @@ ...@@ -58,16 +58,6 @@
</template> </template>
<script> <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 { export default {
props: { props: {
runsItems: Array, runsItems: Array,
......
...@@ -57,7 +57,7 @@ const config = { ...@@ -57,7 +57,7 @@ const config = {
module: { module: {
noParse: [ noParse: [
/node_modules\/(san|axios)\// /node_modules\/(axios)\//
], ],
rules: [ rules: [
{ {
...@@ -120,7 +120,7 @@ const config = { ...@@ -120,7 +120,7 @@ const config = {
new CaseSensitivePathsPlugin(), new CaseSensitivePathsPlugin(),
new webpack.LoaderOptionsPlugin({ new webpack.LoaderOptionsPlugin({
test: /\.(styl|san)$/ test: /\.(styl)$/
}), }),
new ExtractTextPlugin({filename: '[name].css'}) new ExtractTextPlugin({filename: '[name].css'})
] ]
......
...@@ -31,10 +31,7 @@ module.exports = merge(baseWebpackConfig, { ...@@ -31,10 +31,7 @@ module.exports = merge(baseWebpackConfig, {
}), }),
new webpack.LoaderOptionsPlugin({ new webpack.LoaderOptionsPlugin({
test: /\.(styl|san)$/, test: /\.(styl)$/,
san: {
autoprefixer: autoPrefixOptions
}
}), }),
new webpack.optimize.CommonsChunkPlugin({ new webpack.optimize.CommonsChunkPlugin({
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册