Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Element
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林焕东
Element
Commits
ea643623
Commit
ea643623
authored
Nov 04, 2016
by
qingwei.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix build theme script
parent
8eae476f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
build/bin/build-entry.js
build/bin/build-entry.js
+3
-1
package.json
package.json
+1
-1
src/index.js
src/index.js
+2
-0
No files found.
build/bin/build-entry.js
View file @
ea643623
...
...
@@ -7,7 +7,9 @@ var path = require('path');
var
OUTPUT_PATH
=
path
.
join
(
__dirname
,
'
../../src/index.js
'
);
var
IMPORT_TEMPLATE
=
'
import {{name}} from
\'
../packages/{{package}}/index.js
\'
;
'
;
var
INSTALL_COMPONENT_TEMPLATE
=
'
Vue.component({{name}}.name, {{name}});
'
;
var
MAIN_TEMPLATE
=
`{{include}}
var
MAIN_TEMPLATE
=
`/* Automatic generated by './build/bin/build-entry.js' */
{{include}}
import locale from 'element-ui/src/locale';
const install = function(Vue, opts = {}) {
...
...
package.json
View file @
ea643623
...
...
@@ -11,7 +11,7 @@
"scripts"
:
{
"bootstrap"
:
"npm i"
,
"build:file"
:
"node build/bin/iconInit.js & node build/bin/build-entry.js"
,
"build:theme"
:
"n
pm run submodule:fetch && n
ode build/bin/gen-cssfile && gulp build --gulpfile packages/theme-default/gulpfile.js && cp-cli packages/theme-default/lib lib/theme-default"
,
"build:theme"
:
"node build/bin/gen-cssfile && gulp build --gulpfile packages/theme-default/gulpfile.js && cp-cli packages/theme-default/lib lib/theme-default"
,
"build:utils"
:
"cross-env BABEL_ENV=utils babel src --out-dir lib --ignore src/index.js"
,
"clean"
:
"rimraf lib && rimraf packages/*/lib && rimraf test/**/coverage"
,
"deploy"
:
"npm run build:file && cooking build -c build/cooking.demo.js -p && echo element.eleme.io>>examples/element-ui/CNAME && gh-pages -d examples/element-ui --remote eleme && del examples/element-ui"
,
...
...
src/index.js
View file @
ea643623
/* Automatic generated by './build/bin/build-entry.js' */
import
Pagination
from
'
../packages/pagination/index.js
'
;
import
Dialog
from
'
../packages/dialog/index.js
'
;
import
Autocomplete
from
'
../packages/autocomplete/index.js
'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment