ULIVZ
94dab125ca
fix($core): cannot read property 'globalLayout' of null ( close : #1304 )
2019-02-17 18:44:30 +08:00
ULIVZ
8f43be567f
refactor: update code style
2019-02-04 02:02:44 +08:00
Liu Xinyu and ULIVZ
49c5983d28
fix($core): never throw error if layout component does not exist ( #1247 )
2019-01-30 01:43:45 +08:00
Liu Xinyu and ULIVZ
febe3a716e
feat($core): allow a theme package using a sub directory ( close #1204 ) ( #1206 )
2019-01-20 23:17:35 +08:00
ULIVZ
9c613902c2
feat($core): more concise logger
2018-11-25 21:30:59 +08:00
ULIVZ
84fd0ff495
feat: extend a theme
2018-10-30 03:39:46 +08:00
ULIVZ
432e6620a3
refactor: log error when theme cannot be resolved
2018-10-30 02:05:14 +08:00
ULIVZ
80cb1d5608
refactor: shortcutPackageResolver
2018-10-22 00:16:10 +08:00
Michael Smith and ULIVZ
c95c09fbf6
fix($core): fix extra anonymous plugin message ( #926 )
...
In the absence of a theme entry file, an extra anonymous plugin load
message would be printed as the themeEntryFile object lacked a name.
2018-10-14 10:53:50 -05:00
ULIVZ
0a7e38ab5c
fix($core): theme/styles/palette.styl doesn't work
...
BTW, remove Object usage of palette.
2018-10-08 00:45:13 +08:00
ULIVZ
734551500a
feat($core): 'plugins' in plugin.
2018-10-06 00:52:07 +08:00
ULIVZ
3fbef0d614
feat($core): theme entry file as plugin.
2018-10-05 23:24:24 +08:00
ULIVZ
19e73d7ea0
refactor($core): use upath
2018-09-29 02:00:29 +08:00
ULIVZ
20e520dd90
feat($core): multiple layout directories
2018-09-28 01:19:35 +08:00
ULIVZ
0b89d9c6e6
fix($core): cannot fallback to default NotFound layout correctly
2018-09-28 00:26:21 +08:00
ULIVZ
63555c0db9
feat($core): support 'palette' API, deprecate override.styl
2018-09-24 01:19:18 +08:00
ULIVZ
ade62c9868
fix($core): null check for Layout components
2018-09-23 14:41:44 +08:00
Qian and ULIVZ
394d013e48
chore: sunset 'fs.existsSync' ( #847 )
2018-09-17 13:15:18 +08:00
ULIVZ
e2b6be835e
fix($core): themePath should default to modulePath
2018-09-16 14:47:22 +08:00
ULIVZ
7f7fe18d40
feat: support clean and multiple custom layout. / theme default layouts dir
...
1. Refine ExtendPageDataOption, simplify the implmentation
2. Introduce LayoutDistributor as the unique route layout entry
3. Inject layout components to LayoutDistributor
4. Register layout components located at themedir/layouts
5. Reorganize the default theme's structure
2018-09-05 01:02:19 +08:00
ULIVZ
f81f3732f6
feat: refine theme API
...
1. Support scope package and shortcut like plugin.
2. Support relative path for 'layout' and 'notFound' option.
2018-09-02 22:55:44 +08:00