1.0.8 • Published 4 days ago
@smapiot/pilet-template-solid v1.0.8
Pilet Template - Solid.js ·
This is the default template for creating a new pilet using Solid.js.
Usage
Use the template with pilet new
or npm init pilet
:
# directly via the CLI (prefer to prefix with npx)
pilet new <app-shell> --template solid <other-options>
# via the initializer - best option (NPM v6)
npm init pilet --source <app-shell> --template solid <other-options>
# via the initializer - best option (NPM v7 and v8)
npm init pilet -- --source <app-shell> --template solid <other-options>
Variables
The following variables are available when scaffolding. They can be applied via the CLI flags, e.g.,
pilet new <app-shell> --template solid --vars.standalone true --vars.solidVersion 1
For this template we have:
- src: Sets the directory of the source files. By default it's
<root>/src
. - standalone: Sets if the pilet should be considered standalone, i.e., with Solid.js provided by the pilet. By default, this is derived from inspecting the used Piral instance (if it contains
piral-solid
thenstandalone
would be set tofalse
) - solidVersion: Sets the (major) version of Solid.js to be used in case of a standalone pilet. Otherwise, would be discarded.
License
Piral is released using the MIT license. For more information see the license file.
1.0.8
4 days ago
1.0.2
7 months ago
1.0.7
5 months ago
1.0.6
6 months ago
1.0.5
6 months ago
1.0.4
7 months ago
1.0.3
7 months ago
1.0.7-beta.6258
5 months ago
1.0.6-beta.6234
6 months ago
1.0.6-beta.6233
6 months ago
1.0.6-beta.6231
6 months ago
1.0.7-beta.6240
6 months ago
1.0.1
10 months ago
1.0.0-beta.5648
11 months ago
1.0.0-beta.5647
11 months ago
1.0.0
11 months ago
0.15.6
1 year ago
0.15.6-beta.5446
1 year ago
0.15.5
1 year ago
0.15.4
1 year ago
0.15.4-beta.5421
1 year ago
0.15.4-beta.5419
1 year ago