2.2.10 • Published 7 years ago
swint-builder-polymer v2.2.10
swint-builder-polymer
Polymer web copmonent builder for Swint
Warning: This is not the final draft yet, so do not use this until its official version is launched
Installation
$ npm install --save swint-builder-polymerOptions
name:String, default:ProjectinDir:String, default:path.dirname(require.main.filename)imgMetaDir:String, default:path.join(path.dirname(require.main.filename), '../imgMeta')outDir:String, default:path.join(path.dirname(require.main.filename), '../out')variables:Object, default:{}
Usage
buildPolymer({
name: 'Test',
inDir: path.join(__dirname, 'elements', 'target'),
imgMetaDir: path.join(__dirname, 'imgMeta'),
outDir: path.join(__dirname, 'out'),
variables: {}
}, function() {
// Build complete
});Disclaimer
- You should write your code like
<img source="...">instead of<img src="...">in order to usesrcattribute in HTML due to the path processing in vulcanize. - If you do not want this, you can either write like
<link rel="import" href="path/to/img.svg">.
2.2.10
7 years ago
2.2.9
8 years ago
2.2.8
8 years ago
2.2.7
9 years ago
2.2.6
9 years ago
2.2.5
9 years ago
2.2.4
9 years ago
2.2.3
9 years ago
2.2.1
9 years ago
2.2.0
9 years ago
2.1.3
10 years ago
2.1.2
10 years ago
2.1.1
10 years ago
2.1.0
10 years ago
2.0.0
10 years ago
1.0.1
10 years ago
1.0.0
10 years ago
0.1.5
10 years ago
0.1.4
10 years ago
0.1.3
10 years ago
0.1.2
10 years ago
0.1.1
11 years ago
0.1.0
11 years ago