Browse Source

Merge branch 'master' into master

master
Teller 4 years ago
parent
commit
fca2a036d5
  1. 1
      .gitignore
  2. 24
      advance.html
  3. 2
      index.html
  4. 34
      package.json

1
.gitignore vendored

@ -48,3 +48,4 @@ crashlytics-build.properties
/node_modules/ /node_modules/
package-lock.json package-lock.json
yarn.lock

24
advance.html

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<!--核心css文件,自带font、图片等,使用的是fineui资源-->
<link rel="stylesheet" type="text/css" href="node_modules/fineui/dist/core.css" />
<!-- 下面是不包含normalize.css的css -->
<!-- <link rel="stylesheet" type="text/css" href="node_modules/fineui/dist/2.0/fineui_without_normalize.css" /> -->
<!-- 这里定义的是本地资源路径,如有需要修改可以复制出来替换其中路径,并在此处加载替换后的css -->
<link rel="stylesheet" type="text/css" href="node_modules/fineui/dist/resource.css" />
<!--个人代码样式-->
<link rel="stylesheet" type="text/css" href="./dist/bundle.css"/>
</head>
<body>
<div id="wrapper"></div>
<!--核心js-->
<script src="node_modules/fineui/dist/core.js"></script>
<!-- 这里定义的是本地一些配置项,比如国际化,如有需要修改可以复制出来替换其中配置,并在此处加载替换后的js -->
<script src="node_modules/fineui/dist/resource.js"></script>
<!--个人代码js-->
<script src="./dist/bundle.js"></script>
</body>
</html>

2
index.html

@ -11,7 +11,7 @@
</head> </head>
<body> <body>
<div id="wrapper"></div> <div id="wrapper"></div>
<script src="http://fanruan.design/fineui/2.0/fineui.min.js"></script> <script src="http://fanruan.design/fineui/2.0/fineui.min.js"></script>
<script src="dist/bundle.js"></script> <script src="dist/bundle.js"></script>
</body> </body>

34
package.json

@ -3,24 +3,26 @@
"version": "1.0.0", "version": "1.0.0",
"description": "fineui start", "description": "fineui start",
"main": "index.js", "main": "index.js",
"dependencies": {}, "dependencies": {
"fineui": "^2.0.0"
},
"devDependencies": { "devDependencies": {
"chai": "^4.1.2", "chai": "4.1.2",
"eslint": "^4.12.0", "eslint": "4.12.0",
"eslint-plugin-prettier": "^2.3.1", "eslint-plugin-prettier": "2.3.1",
"express": "^4.15.2", "express": "4.15.2",
"grunt": "^1.0.1", "grunt": "1.0.1",
"grunt-contrib-concat": "^1.0.1", "grunt-contrib-concat": "1.0.1",
"grunt-contrib-connect": "^1.0.2", "grunt-contrib-connect": "1.0.2",
"grunt-contrib-cssmin": "^1.0.1", "grunt-contrib-cssmin": "1.0.1",
"grunt-contrib-jshint": "^1.0.0", "grunt-contrib-jshint": "1.0.0",
"grunt-contrib-less": "^1.4.1", "grunt-contrib-less": "1.4.1",
"grunt-contrib-uglify": "^1.0.1", "grunt-contrib-uglify": "1.0.1",
"grunt-contrib-watch": "^1.0.0", "grunt-contrib-watch": "1.0.0",
"lodash": "^4.17.10", "lodash": "4.17.10",
"mocha": "^4.0.1", "mocha": "4.0.1",
"open": "0.0.5", "open": "0.0.5",
"prettier": "^1.8.2" "prettier": "1.8.2"
}, },
"scripts": { "scripts": {
"grunt": "grunt", "grunt": "grunt",

Loading…
Cancel
Save